Mercurial > vim
diff runtime/doc/syntax.txt @ 3456:4dde9b516e72
Updated runtime files.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 05 Apr 2012 17:33:26 +0200 |
parents | 2cfb68fa26cd |
children | 161d01cbb165 |
line wrap: on
line diff
--- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -1,4 +1,4 @@ -*syntax.txt* For Vim version 7.3. Last change: 2012 Mar 28 +*syntax.txt* For Vim version 7.3. Last change: 2012 Apr 05 VIM REFERENCE MANUAL by Bram Moolenaar @@ -2836,6 +2836,18 @@ following sets of characters: > By leaving one or more of these out, the associated conceal-character substitution will not be made. + *g:tex_isk* + Tex: Controlling What's In A Keyword~ + +(La)Tex keywords normally use the characters 0-9,a-z,A-Z,192-255 only +but the "_" is the only one that causes problems. So, by default, +syntax/tex.vim overrides the usual |'iskeyword'| setting (using |setlocal|) +with one that works for LaTeX. + +However, one may override this iskeyword re-setting by setting the +variable, g:tex_isk, in one's .vimrc to whatever one wishes and +it will be used instead. + TF *tf.vim* *ft-tf-syntax*