I put 'set iskeyword+=_' (I've tried numerous quoting around the underscore) but ':set iskeyword?' keeps saying "iskeyword=a-z,A-Z,48-57,:,/,.". I just can't get the underscore into iskeyword. What's the command to see where a setting was last defined?

On Wed, 12 Jul 2006, Hakim Cassimally wrote:

Check what you have set for iskeyword.  On my vim:

      iskeyword=48-57,_,A-Z,a-z,:

(silly vim insists on 48-57 for the numbers 0-9...)  iskeyword
determines what counts as a word for the purposes of */# and tag
searching.  I include : because I think that Module::Name is a single
symbol.  To make sure these settings only affect Perl, I put them in
my ~/.vim/ftplugin/perl.vim (see
http://greenokapi.net/svn/.vim/ftplugin/perl.vim )

--

.

Reply via email to