Mercurial > vim
diff runtime/doc/syntax.txt @ 11473:bd6ff5246c71
Update runtime files.
commit https://github.com/vim/vim/commit/6aa8cea46d4179b2617daae034063dd0d8054e35
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jun 5 14:44:35 2017 +0200
Update runtime files.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 05 Jun 2017 14:45:04 +0200 |
parents | 1218c5353e2b |
children | 49c12c93abf3 |
line wrap: on
line diff
--- 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.