On 2011-09-13, Christian Nachbar wrote:
> Hello,
> 
> I'm not able to set "iskeyword+=:", neither with .vimrc nor with
> ftplugin/tex.vim. The only way to get it work, is to set it
> manually ":set iskeyword+=:". 
> When I set it with .vimrc, it's working for all buffers except the
> tex-files. Maybe there is some simple explanation.

You can verify this by opening a LaTeX file and executing

    :verbose set isk?

but this appears to be set in $VIMRUNTIME/syntax/tex.vim.

I'm not sure of the best way to fix this because I don't know
exactly what the effect on your syntax highlighting will be, but you
can force your 'iskeyword' setting to work by putting

    setlocal iskeyword+=:

in ~/.vim/after/syntax/tex.vim.

HTH,
Gary


------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry® mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry® DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

Reply via email to