aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/syntax.txt
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-11-07 01:29:14 +0100
committerJustin M. Keyes <justinkz@gmail.com>2017-11-07 01:33:46 +0100
commit599170de8304d74baa3e18df0929330e3773a14d (patch)
tree3f1b849eaa11202858f85cf7fa9599331a6c4daf /runtime/doc/syntax.txt
parent78223bc97f6c7b4376ff9b8708e2bec4cea92f6d (diff)
downloadrneovim-599170de8304d74baa3e18df0929330e3773a14d.tar.gz
rneovim-599170de8304d74baa3e18df0929330e3773a14d.tar.bz2
rneovim-599170de8304d74baa3e18df0929330e3773a14d.zip
vim-patch:6aa8cea46d41
Update runtime files. https://github.com/vim/vim/commit/6aa8cea46d4179b2617daae034063dd0d8054e35
Diffstat (limited to 'runtime/doc/syntax.txt')
-rw-r--r--runtime/doc/syntax.txt9
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.