Bram Moolenaar <[email protected]> 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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui