diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-06-05 14:44:35 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-06-05 14:44:35 +0200 |
commit | 6aa8cea46d4179b2617daae034063dd0d8054e35 (patch) | |
tree | 25d3a8b4123803ec00dfab58f8b31b8e2c21a59f /runtime/doc/syntax.txt | |
parent | 9472eec83c3f9c191814dc81dd82498c10b1fc9c (diff) |
Update runtime files.
Diffstat (limited to 'runtime/doc/syntax.txt')
-rw-r--r-- | runtime/doc/syntax.txt | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index 4a47c33757..6606524abc 100644 --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -1,4 +1,4 @@ -*syntax.txt* For Vim version 8.0. Last change: 2017 Feb 06 +*syntax.txt* For Vim version 8.0. Last change: 2017 Jun 04 VIM REFERENCE MANUAL by Bram Moolenaar @@ -4812,10 +4812,11 @@ ctermbg={color-nr} *highlight-ctermbg* Example: > :highlight Normal ctermfg=grey ctermbg=darkblue < When setting the "ctermbg" color for the Normal group, the - 'background' option will be adjusted automatically. This causes the - highlight groups that depend on 'background' to change! This means - you should set the colors for Normal first, before setting other - colors. + 'background' option will be adjusted automatically, under the + condition that the color is recognized and 'background' was not set + explicitly. This causes the highlight groups that depend on + 'background' to change! This means you should set the colors for + Normal first, before setting other colors. When a colorscheme is being used, changing 'background' causes it to be reloaded, which may reset all colors (including Normal). First delete the "g:colors_name" variable when you don't want this. |