[Vim-latex-devel] Problem with "iskeyword"
Brought to you by:
srinathava,
tmaas
From: Renliang Gu <gur...@gm...> - 2014-06-02 04:16:43
|
Hi, Just noticed that the setting set iskeyword+=: as recommended in the installation page <http://vim-latex.sourceforge.net/documentation/latex-suite/recommended-settings.html> and the help document is not working. As mentioned by Gary in link <https://www.mail-archive.com/vim...@li.../msg01077.html>, iskeyword is reset by $VIMRUNTIME/syntax/tex.vim My vim is 7.3 under linux. As said in $VIMRUNTIME/syntax/tex.vim, " (La)TeX keywords: uses the characters 0-9,a-z,A-Z,192-255 only... {{{1 " but _ is the only one that causes problems. " One may override this iskeyword setting by providing " g:tex_isk if exists("g:tex_isk") exe "setlocal isk=".g:tex_isk else setlocal isk=48-57,a-z,A-Z,192-255 endif Why not change the instruction and the document to add this so called variable g:tex_isk, like let g:tex_isk = '48-57,a-z,A-Z,192-255,:' to reduce confusion? 顾任亮(Renliang Gu) |