On 25-Feb-09 6:25, Tony Mechelynck wrote:
> Bug? Seems so to me. even two of them (but both related to the 'keymap' 
> option).
> 
> The one is in menu.vim (Last change: 2008 Aug 22): at lines 365 and 377 
> it uses ":set" rather than ":setlocal", which sets the keymap for _all_ 
> future new buffers, not only the current one.
> 
> ...

Just by opening menu.vim (with folding of if..endif enabled, cp. 
http://vim.wikia.com/wiki/Syntax_folding_of_Vim_scripts), I found another bug: 
There's a missing 'endif' between lines 140-141:

138 func! s:FnameEscape(fname)
139   if exists('*fnameescape')
140     return fnameescape(a:fname)
141   return escape(a:fname, " \t\n*?[{`$\\%#'\"|!<")
142 endfunc

I'm not sure what the version support policy for runtime files is; in case they 
now only need to support VIM 7.2, one could get rid of this wrapper around 
fnameescape() completely?!

-- regards, ingo

-- 
   -- Ingo Karkat -- /^-- /^-- /^-- /^-- /^-- /^-- http://ingo-karkat.de/ --


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui