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

Ph. Marek philipp.marek at linbit.com
Tue Sep 16 06:13:36 UTC 2014


Package: vim-runtime
Version: 2:7.4.430-1
Severity: normal
File: /usr/share/vim/vim74/ftplugin/perl.vim

/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".

IMO using ":" as a "file:line" delimiter is much more common than using ":" 
within filenames, so I'd like to see that part removed.


Thank you!


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

vim-runtime depends on no packages.

Versions of packages vim-runtime recommends:
ii  vim-athena [vim]  2:7.4.430-1
ii  vim-gnome [vim]   2:7.4.430-1

vim-runtime suggests no packages.

-- no debconf information

-- 
: Ing. Philipp Marek
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting                 http://www.linbit.com :

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.



More information about the pkg-vim-maintainers mailing list