summaryrefslogtreecommitdiffstats
path: root/runtime/doc/syntax.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-11-04 14:45:49 +0100
committerBram Moolenaar <Bram@vim.org>2018-11-04 14:45:49 +0100
commitba3ff539303c7bb6e46a6802dce3c7b2e55284e0 (patch)
treeaa03c46ea8b651302a19f537f92c3624c4ac5990 /runtime/doc/syntax.txt
parentdcd71cbaedf75dd8e5c5a45c5c2e3ec7ee552dce (diff)
Update runtime files
Diffstat (limited to 'runtime/doc/syntax.txt')
-rw-r--r--runtime/doc/syntax.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt
index 3d987ff73c..04de08e4b4 100644
--- a/runtime/doc/syntax.txt
+++ b/runtime/doc/syntax.txt
@@ -939,6 +939,9 @@ to the respective variable. Example: >
To disable them use ":unlet". Example: >
:unlet c_comment_strings
+An alternative is to switch to the C++ highlighting: >
+ :set filetype=cpp
+
Variable Highlight ~
*c_gnu* GNU gcc specific items
*c_comment_strings* strings and numbers inside a comment