Bug#761801: /usr/share/vim/vim74/ftplugin/perl.vim: isfname erroneously set to include ":"

James McCoy jamessan at debian.org
Tue Sep 16 13:05:29 UTC 2014

On Tue, Sep 16, 2014 at 08:13:36AM +0200, Ph. Marek wrote:
> /usr/share/vim/vim74/ftplugin/perl.vim:41 includes a part
>     " The following line changes a global variable but is necessary to make
>     " gf and similar commands work.  The change to iskeyword was incorrect.
>     " Thanks to Andrew Pimlott for pointing out the problem. If this causes a
>     " problem for you, add an after/ftplugin/perl.vim file that contains
>     "       set isfname-=:
>     set isfname+=:
>     set iskeyword+=:
> But that is incorrect - including ":" in "isfname" breaks "gF".

The reasoning behind this change is exactly to allow gf and friends to
work on Perl package names, which are of the form Foo::Bar.

GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <jamessan at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20140916/93be81b4/attachment.sig>

More information about the pkg-vim-maintainers mailing list