diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-11-07 02:49:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-07 02:49:08 +0100 |
commit | ad527392abb60e19954d5e8dba05af282d67d15b (patch) | |
tree | 5a8ad20c8cc49b37593e8f1089420446b731b0d0 /runtime/doc/syntax.txt | |
parent | dc9290109481e5e0d0c224fecb217ceb5a4c978d (diff) | |
parent | 20e317e22abeef20891eb70a18435559f7b09212 (diff) | |
download | rneovim-ad527392abb60e19954d5e8dba05af282d67d15b.tar.gz rneovim-ad527392abb60e19954d5e8dba05af282d67d15b.tar.bz2 rneovim-ad527392abb60e19954d5e8dba05af282d67d15b.zip |
Merge #7499 'vim-patch: runtime'
Diffstat (limited to 'runtime/doc/syntax.txt')
-rw-r--r-- | runtime/doc/syntax.txt | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index 6cbee8c108..eb8cd1a58b 100644 --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -4757,10 +4757,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. |