On 29/11/08 23:48, Mr. Shawn H. Corey wrote: > On Sat, 2008-11-29 at 12:53 -0800, Peng Yu wrote: >> The vim in my system is of version 7.0. I think that it is actually >> because of perl-support that I just installed recently instead of >> perl.vim as I mentioned in the original post. >> >> http://www.vim.org/scripts/script.php?script_id=556 >> >> Is it considered a bug of perl-support? >> > > My version of vim is 7.1.138 I can't find a version number in perl.vim > so I don't know what version of perl-support you should use. > > Here is the top of my perl.vim file: > " Vim syntax file > " Language: Perl > " Maintainer: Nick Hibma<[EMAIL PROTECTED]> > " Last Change: 2006 November 23 > " Location: http://www.van-laarhoven.org/vim/syntax/perl.vim > > It is actually older than I thought it was. > >
Actually, 'iskeyword' should be set by an ftplugin, not a syntax script (and by :setlocal, not :set, to avoid clobbering the settings for other files and the defaults for future new files of a different filetype). The current $VIMRUNTIME/ftplugin/perl.vim is: " Vim filetype plugin file " Language: Perl " Maintainer: Dan Sharp <dwsharp at hotmail dot com> " Last Change: 17 Jul 2008 " URL: http://mywebpage.netscape.com/sharppeople/vim/ftplugin (and my version of Vim is a 7.2.57 which I compiled maybe an hour or so ago). Best regards, Tony. -- Rule of Creative Research: (1) Never draw what you can copy. (2) Never copy what you can trace. (3) Never trace what you can cut out and paste down. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
