Hello, I do believe that if you 'set verbose=2' and then 'set isk?' vim will tell you where it was last set. I was having the same problem Saturday night when the ftplugin/php.vim was adding '$' to isk. I found that adding "set isk-=$" to ~/.vim/ftplugin/php.vim did *not* work, but adding it to ~/.vim/after/ftplugin/php.vim *did* work, you may wish to try changing iskeyword in your after/ftplugin script.
regards, Peter --- Vigil <[EMAIL PROTECTED]> wrote: > 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 ) > > -- > > . > ____________________________________________________ Do you Yahoo!? Never miss an Instant Message - Yahoo! Messenger for SMS http://au.mobile.yahoo.com/mweb/index.html
