Loading ...
Sorry, an error occurred while loading the content.

Re: syntax error in runtime/macros/editexisting.vim

Expand Messages
  • Bram Moolenaar
    ... Thanks for the fix. -- Your company is doomed if your primary product is overhead transparencies. (Scott Adams - The Dilbert principle) /// Bram Moolenaar
    Message 1 of 3 , Feb 24, 2013
    • 0 Attachment
      Yukihiro Nakadaira wrote:

      > Here is syntax error.
      >
      > diff -r 8b86b69546a9 runtime/macros/editexisting.vim
      > --- a/runtime/macros/editexisting.vim Wed Feb 20 21:26:00 2013 +0100
      > +++ b/runtime/macros/editexisting.vim Sun Feb 24 22:04:22 2013 +0900
      > @@ -98,7 +98,7 @@
      > " Make this tab page the current one and find the window number.
      > exe 'tabnext ' . (i + 1)
      > let winnr = bufwinnr(a:fname)
      > - break;
      > + break
      > endif
      > endfor
      > endif

      Thanks for the fix.

      --
      Your company is doomed if your primary product is overhead transparencies.
      (Scott Adams - The Dilbert principle)

      /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
      /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
      \\\ an exciting new programming language -- http://www.Zimbu.org ///
      \\\ help me help AIDS victims -- http://ICCF-Holland.org ///

      --
      --
      You received this message from the "vim_dev" maillist.
      Do not top-post! Type your reply below the text you are replying to.
      For more information, visit http://www.vim.org/maillist.php

      ---
      You received this message because you are subscribed to the Google Groups "vim_dev" group.
      To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe@....
      For more options, visit https://groups.google.com/groups/opt_out.
    • Dominique PellĂ©
      ... Hi Looking for the pattern ;$ I see 2 other occurrences that look like similar mistakes in: - runtime/indent/sdl.vim - runtime/autoload/netrw.vim also in
      Message 2 of 3 , Feb 24, 2013
      • 0 Attachment
        Bram Moolenaar <Bram@...> wrote:

        > Yukihiro Nakadaira wrote:
        >
        >> Here is syntax error.
        >>
        >> diff -r 8b86b69546a9 runtime/macros/editexisting.vim
        >> --- a/runtime/macros/editexisting.vim Wed Feb 20 21:26:00 2013 +0100
        >> +++ b/runtime/macros/editexisting.vim Sun Feb 24 22:04:22 2013 +0900
        >> @@ -98,7 +98,7 @@
        >> " Make this tab page the current one and find the window number.
        >> exe 'tabnext ' . (i + 1)
        >> let winnr = bufwinnr(a:fname)
        >> - break;
        >> + break
        >> endif
        >> endfor
        >> endif
        >
        > Thanks for the fix.


        Hi

        Looking for the pattern ;$ I see 2 other occurrences that
        look like similar mistakes in:

        - runtime/indent/sdl.vim
        - runtime/autoload/netrw.vim
        also in latest v147f at:
        http://www.drchip.org/astronaut/vim/index.html#NETRW

        I added the maintainers of those scripts in CC.

        Regards
        Dominique

        diff -r 8b86b69546a9 runtime/autoload/netrw.vim
        --- a/runtime/autoload/netrw.vim Wed Feb 20 21:26:00 2013 +0100
        +++ b/runtime/autoload/netrw.vim Sun Feb 24 14:50:54 2013 +0100
        @@ -4167,7 +4167,7 @@
        let b:netrw_curdir= getcwd().'/'.prefixdir
        endif
        let dirname= substitute(dirname,'^.\{-}\(\*\*/.*\)$','\1','')
        - let starpat= 4;
        + let starpat= 4
        " call Decho("..pwd<".getcwd()."> dirname<".dirname.">")
        " call Decho("..case Explore ../**/../filepat (starpat=".starpat.")")


        diff -r 8b86b69546a9 runtime/indent/sdl.vim
        --- a/runtime/indent/sdl.vim Wed Feb 20 21:26:00 2013 +0100
        +++ b/runtime/indent/sdl.vim Sun Feb 24 14:50:54 2013 +0100
        @@ -73,7 +73,7 @@

        " Systems and packages are always in column 0
        if getline(v:lnum) =~? '^\s*\(\(end\)\=system\|\(end\)\=package\)'
        - return 0;
        + return 0
        endif

        --
        --
        You received this message from the "vim_dev" maillist.
        Do not top-post! Type your reply below the text you are replying to.
        For more information, visit http://www.vim.org/maillist.php

        ---
        You received this message because you are subscribed to the Google Groups "vim_dev" group.
        To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe@....
        For more options, visit https://groups.google.com/groups/opt_out.
      Your message has been successfully submitted and would be delivered to recipients shortly.