aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-12-22 08:58:51 +0800
committerGitHub <noreply@github.com>2023-12-22 08:58:51 +0800
commit2b3d1e18545ab9d2853f802c6d5adf54b5bf189c (patch)
tree1ec458ad98b781a1a569639e63f38623a5415da6
parent2a173c0669764ff35023e5e3566eb4eeebf11a72 (diff)
downloadrneovim-2b3d1e18545ab9d2853f802c6d5adf54b5bf189c.tar.gz
rneovim-2b3d1e18545ab9d2853f802c6d5adf54b5bf189c.tar.bz2
rneovim-2b3d1e18545ab9d2853f802c6d5adf54b5bf189c.zip
vim-patch:0630080bbd3e (#26704)
runtime(doc): reformat and align :h ft-c-syntax (vim/vim#13738) https://github.com/vim/vim/commit/0630080bbd3ece71737daf657d51f6a4ebc19906 Co-authored-by: Christian Brabandt <cb@256bit.org>
-rw-r--r--runtime/doc/syntax.txt14
1 files changed, 7 insertions, 7 deletions
diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt
index e859ddcadc..cf345d9c96 100644
--- a/runtime/doc/syntax.txt
+++ b/runtime/doc/syntax.txt
@@ -964,21 +964,21 @@ An alternative is to switch to the C++ highlighting: >
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