diff runtime/doc/syntax.txt @ 14999:2b30a2b4bde2

Update runtime files commit https://github.com/vim/vim/commit/ba3ff539303c7bb6e46a6802dce3c7b2e55284e0 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Nov 4 14:45:49 2018 +0100 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Sun, 04 Nov 2018 15:00:08 +0100
parents b178e2039b2d
children f8b0f1e42f2c
line wrap: on
line diff
--- 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