On Tuesday 02 November 2010 18:48:30 Tim Johnson wrote: > using vim huge version with GTK2 GUI on ubuntu 10.04
> I mean to eliminate the following characters: > '$' , '-', and '>' (ascii 36,45,62) > from php word syntax. > Neither > :setlocal iskeyword-=$-> > as an ex command nor > autocmd BufRead,BufNewFile *.php setlocal iskeyword-=$-> > in .vimrc > has the effects that I am looking for. > to test my efforts I invoke : set iskeyword and see the > following > :iskeyword=38,42,43,45,47-58,60-62,64-90,97-122,_,& > where ascii 45 and 62 are still present. > What am I doing wrong? first, test my theory by testing iskeyword with :verbose set iskeyword? then, if i'm right, create a ~/.vim/after/syntax/php.vim ok, scratch that -- i just looked and php.vim does not tamper with iskeyword -- perhaps you have a plugin installed that is setting it -- so tell us what you see when you do the verbose query sc -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php