Mercurial > vim
comparison runtime/doc/syntax.txt @ 3492:3482d151136b
Updated runtime files.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 25 Apr 2012 19:07:41 +0200 |
parents | 161d01cbb165 |
children | 11d40fc82f11 |
comparison
equal
deleted
inserted
replaced
3491:5af3c91be43f | 3492:3482d151136b |
---|---|
2719 | 2719 |
2720 Some folks like to include things like source code in comments and so would | 2720 Some folks like to include things like source code in comments and so would |
2721 prefer that spell checking be disabled in comments in LaTeX files. To do | 2721 prefer that spell checking be disabled in comments in LaTeX files. To do |
2722 this, put the following in your <.vimrc>: > | 2722 this, put the following in your <.vimrc>: > |
2723 let g:tex_comment_nospell= 1 | 2723 let g:tex_comment_nospell= 1 |
2724 < | 2724 The comment lines > |
2725 % nospell{ | |
2726 ... | |
2727 % nospell} | |
2728 will suppress spell checking between them. These comment lines spelling | |
2729 control are known to be fragile; for example, don't include any of the section | |
2730 commands (\part, \chapter, \section, \paragraph, etc) inside nospell blocks | |
2731 or interleave environments (such as math) across nospell blocks. | |
2725 *tex-verb* | 2732 *tex-verb* |
2726 Tex: Want Spell Checking in Verbatim Zones?~ | 2733 Tex: Want Spell Checking in Verbatim Zones?~ |
2727 | 2734 |
2728 Often verbatim regions are used for things like source code; seldom does | 2735 Often verbatim regions are used for things like source code; seldom does |
2729 one want source code spell-checked. However, for those of you who do | 2736 one want source code spell-checked. However, for those of you who do |
2826 You may selectively use conceal mode by setting g:tex_conceal in your | 2833 You may selectively use conceal mode by setting g:tex_conceal in your |
2827 <.vimrc>. By default it is set to "admgs" to enable conceal for the | 2834 <.vimrc>. By default it is set to "admgs" to enable conceal for the |
2828 following sets of characters: > | 2835 following sets of characters: > |
2829 | 2836 |
2830 a = accents/ligatures | 2837 a = accents/ligatures |
2838 b = bold and italic | |
2831 d = delimiters | 2839 d = delimiters |
2832 m = math symbols | 2840 m = math symbols |
2833 g = Greek | 2841 g = Greek |
2834 s = superscripts/subscripts | 2842 s = superscripts/subscripts |
2835 < | 2843 < |