Wednesday, June 19, 2013

Re: Where to put "set iskeyword+=_" or remove "iskeyword-=_

On Wednesday, June 19, 2013 10:58:46 AM UTC-5, Ben Fritz wrote:
> On Wednesday, June 19, 2013 10:38:57 AM UTC-5, Paul wrote:
> >
> > If I did not want to change the files in the install tree, is there somewhere else I can put "setl isk+=_" so that my tex file edit sessions/files/buffers always treat underscore as a keyword character? I tried putting it into "/c/Program Files (x86)/Vim/vimfiles/syntax/tex.vim", but that doesn't seem to do it.
>
> Good question! See:
>
> http://vimhelp.appspot.com/vim_faq.txt.html#faq-26.6

I'm realizing that this is set in a syntax file for some reason instead of a ftplugin file. So adjust the autocmd event to "Syntax" instead of "Filetype" or the directory to "after/syntax" instead of "after/ftplugin".

--
--
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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: