Mercurial > vim
diff runtime/doc/syntax.txt @ 3682:11d40fc82f11
Updated runtime files.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 12 Jul 2012 22:01:11 +0200 |
parents | 3482d151136b |
children | 9910cbff5f16 |
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 Apr 06 +*syntax.txt* For Vim version 7.3. Last change: 2012 Jun 13 VIM REFERENCE MANUAL by Bram Moolenaar @@ -650,7 +650,11 @@ The most flexible is to add a line in yo asmsyntax=nasm Replace "nasm" with the name of the real assembly syntax. This line must be one of the first five lines in the file. No non-white text must be -immediately before or after this text. +immediately before or after this text. Note that specifying asmsyntax=foo is +equivalent to setting ft=foo in a |modeline|, and that in case of a conflict +between the two settings the one from the modeline will take precedence (in +particular, if you have ft=asm in the modeline, you will get the GNU syntax +highlighting regardless of what is specified as asmsyntax). The syntax type can always be overruled for a specific buffer by setting the b:asmsyntax variable: > @@ -2909,7 +2913,7 @@ Some folding is now supported with synta g:vimsyn_folding =~ 'P' : fold python script g:vimsyn_folding =~ 'r' : fold ruby script g:vimsyn_folding =~ 't' : fold tcl script - +< *g:vimsyn_noerror* Not all error highlighting that syntax/vim.vim does may be correct; VimL is a difficult language to highlight correctly. A way to suppress error