Mercurial > vim
comparison runtime/doc/syntax.txt @ 3445:2cfb68fa26cd
Updated runtime files.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 28 Mar 2012 20:51:51 +0200 |
parents | b37888de599c |
children | 4dde9b516e72 |
comparison
equal
deleted
inserted
replaced
3444:501b864811d0 | 3445:2cfb68fa26cd |
---|---|
1 *syntax.txt* For Vim version 7.3. Last change: 2012 Feb 11 | 1 *syntax.txt* For Vim version 7.3. Last change: 2012 Mar 28 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
197 REPLACING AN EXISTING SYNTAX FILE *mysyntaxfile-replace* | 197 REPLACING AN EXISTING SYNTAX FILE *mysyntaxfile-replace* |
198 | 198 |
199 If you don't like a distributed syntax file, or you have downloaded a new | 199 If you don't like a distributed syntax file, or you have downloaded a new |
200 version, follow the same steps as for |mysyntaxfile| above. Just make sure | 200 version, follow the same steps as for |mysyntaxfile| above. Just make sure |
201 that you write the syntax file in a directory that is early in 'runtimepath'. | 201 that you write the syntax file in a directory that is early in 'runtimepath'. |
202 Vim will only load the first syntax file found. | 202 Vim will only load the first syntax file found, assuming that it sets |
203 b:current_syntax. | |
203 | 204 |
204 | 205 |
205 NAMING CONVENTIONS *group-name* *{group-name}* *E669* *W18* | 206 NAMING CONVENTIONS *group-name* *{group-name}* *E669* *W18* |
206 | 207 |
207 A syntax group name is to be used for syntax items that match the same kind of | 208 A syntax group name is to be used for syntax items that match the same kind of |
752 start of the file, can be slow | 753 start of the file, can be slow |
753 c_no_ansi don't do standard ANSI types and constants | 754 c_no_ansi don't do standard ANSI types and constants |
754 c_ansi_typedefs ... but do standard ANSI types | 755 c_ansi_typedefs ... but do standard ANSI types |
755 c_ansi_constants ... but do standard ANSI constants | 756 c_ansi_constants ... but do standard ANSI constants |
756 c_no_utf don't highlight \u and \U in strings | 757 c_no_utf don't highlight \u and \U in strings |
757 c_syntax_for_h use C syntax for *.h files, instead of C++ | 758 c_syntax_for_h for *.h files use C syntax instead of C++ and use objc |
759 syntax instead of objcpp | |
758 c_no_if0 don't highlight "#if 0" blocks as comments | 760 c_no_if0 don't highlight "#if 0" blocks as comments |
759 c_no_cformat don't highlight %-formats in strings | 761 c_no_cformat don't highlight %-formats in strings |
760 c_no_c99 don't highlight C99 standard items | 762 c_no_c99 don't highlight C99 standard items |
761 c_no_c11 don't highlight C11 standard items | 763 c_no_c11 don't highlight C11 standard items |
762 | 764 |
4419 IncSearch 'incsearch' highlighting; also used for the text replaced with | 4421 IncSearch 'incsearch' highlighting; also used for the text replaced with |
4420 ":s///c" | 4422 ":s///c" |
4421 *hl-LineNr* | 4423 *hl-LineNr* |
4422 LineNr Line number for ":number" and ":#" commands, and when 'number' | 4424 LineNr Line number for ":number" and ":#" commands, and when 'number' |
4423 or 'relativenumber' option is set. | 4425 or 'relativenumber' option is set. |
4426 *hl-CursorLineNr* | |
4427 CursorLineNr Like LineNr when 'cursorline' is set for the cursor line. | |
4424 *hl-MatchParen* | 4428 *hl-MatchParen* |
4425 MatchParen The character under the cursor or just before it, if it | 4429 MatchParen The character under the cursor or just before it, if it |
4426 is a paired bracket, and its match. |pi_paren.txt| | 4430 is a paired bracket, and its match. |pi_paren.txt| |
4427 | 4431 |
4428 *hl-ModeMsg* | 4432 *hl-ModeMsg* |