Mercurial > vim
changeset 33999:c940c4dab9cf
runtime(doc): reformat and align :h ft-c-syntax (#13738)
Commit: https://github.com/vim/vim/commit/0630080bbd3ece71737daf657d51f6a4ebc19906
Author: Christian Brabandt <cb@256bit.org>
Date: Thu Dec 21 16:57:09 2023 +0100
runtime(doc): reformat and align :h ft-c-syntax (https://github.com/vim/vim/issues/13738)
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 21 Dec 2023 17:00:09 +0100 |
parents | 9dafb0ec2e26 |
children | 9427e17a20d4 |
files | runtime/doc/syntax.txt |
diffstat | 1 files changed, 8 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -1,4 +1,4 @@ -*syntax.txt* For Vim version 9.0. Last change: 2023 Dec 17 +*syntax.txt* For Vim version 9.0. Last change: 2023 Dec 20 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1001,21 +1001,21 @@ An alternative is to switch to the C++ h Variable Highlight ~ *c_gnu* GNU gcc specific items *c_comment_strings* strings and numbers inside a comment -*c_space_errors* trailing white space and spaces before a <Tab> -*c_no_trail_space_error* ... but no trailing spaces +*c_space_errors* trailing white space and spaces before a <Tab> +*c_no_trail_space_error* ... but no trailing spaces *c_no_tab_space_error* ... but no spaces before a <Tab> *c_no_bracket_error* don't highlight {}; inside [] as errors *c_no_curly_error* don't highlight {}; inside [] and () as errors; - except { and } in first column - Default is to highlight them, otherwise you - can't spot a missing ")". + ...except { and } in first column + Default is to highlight them, otherwise you + can't spot a missing ")". *c_curly_error* highlight a missing } by finding all pairs; this forces syncing from the start of the file, can be slow *c_no_ansi* don't do standard ANSI types and constants -*c_ansi_typedefs* ... but do standard ANSI types +*c_ansi_typedefs* ... but do standard ANSI types *c_ansi_constants* ... but do standard ANSI constants *c_no_utf* don't highlight \u and \U in strings -*c_syntax_for_h* for *.h files use C syntax instead of C++ and use objc +*c_syntax_for_h* for *.h files use C syntax instead of C++ and use objc syntax instead of objcpp *c_no_if0* don't highlight "#if 0" blocks as comments *c_no_cformat* don't highlight %-formats in strings