Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
14998:921dcc025fc7 | 14999:2b30a2b4bde2 |
---|---|
936 A few things in C highlighting are optional. To enable them assign any value | 936 A few things in C highlighting are optional. To enable them assign any value |
937 to the respective variable. Example: > | 937 to the respective variable. Example: > |
938 :let c_comment_strings = 1 | 938 :let c_comment_strings = 1 |
939 To disable them use ":unlet". Example: > | 939 To disable them use ":unlet". Example: > |
940 :unlet c_comment_strings | 940 :unlet c_comment_strings |
941 | |
942 An alternative is to switch to the C++ highlighting: > | |
943 :set filetype=cpp | |
941 | 944 |
942 Variable Highlight ~ | 945 Variable Highlight ~ |
943 *c_gnu* GNU gcc specific items | 946 *c_gnu* GNU gcc specific items |
944 *c_comment_strings* strings and numbers inside a comment | 947 *c_comment_strings* strings and numbers inside a comment |
945 *c_space_errors* trailing white space and spaces before a <Tab> | 948 *c_space_errors* trailing white space and spaces before a <Tab> |