Dne pondělí, 12. května 2014 17:22:29 UTC+2 Christian Brabandt napsal(a):
> Am 2014-05-12 17:10, schrieb Vít Ondruch:
> 
> > Hi,
> 
> > 
> 
> > Edditing .spec file, going into some file using "gt" and return back
> 
> > by "b#", I always get this annoying error:
> 
> > 
> 
> >> "ruby.spec" 1551L, 54263C
> 
> >> Error detected while processing 
> 
> >> /usr/share/vim/vim74/ftplugin/spec.vim:
> 
> >> line   20:
> 
> >> E227: mapping already exists for ~@�SSpecChangelog
> 
> >> Press ENTER or type command to continue
> 
> > 
> 
> > (Yes, there are displayed some weird characters in front of
> 
> > SSpecChangelog). I am currently using:
> 
> > 
> 
> > $ rpm -q vim-enhanced
> 
> > vim-enhanced-7.4.258-2.fc21.x86_64
> 
> > 
> 
> > but I observe this bug for some while already, may be since 7.4? Not 
> 
> > sure.
> 
> > 
> 
> > Any help appreciated.
> 
> 
> 
> Looks like the specific vim ftplugin does not guard against renmapping 
> 
> the
> 
> same sequence again.

Yes, that was my first thought as well, but there is:


        if !hasmapto("<Plug>SpecChangelog")
                map <buffer> <LocalLeader>c <Plug>SpecChangelog
        endif


which looks as a guard to me. But I'm not expert :)

> 
> 
> 
> Please report as issue at the maintainer (you'll find his contact data
> 
> inside the plugin) and he'll send updates to Bram for inclusion.
> 

I forwarded the issue to Gustavo Niemeyer, listed in the file, hopefully he 
will chime in.


Thanks


Vít

-- 
-- 
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/d/optout.

Raspunde prin e-mail lui