summaryrefslogtreecommitdiffstats
path: root/runtime/colors
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-10-30 21:55:26 +0100
committerBram Moolenaar <Bram@vim.org>2016-10-30 21:55:26 +0100
commitb4ada79aa7d0d1e5da3a659b1a203d7cae9f7f59 (patch)
tree66eae772fda9599999682b9720e65822170140b1 /runtime/colors
parentfb63090b62801d718fe7e1f44407358404c08724 (diff)
Runtime file updates.
Diffstat (limited to 'runtime/colors')
-rw-r--r--runtime/colors/README.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/runtime/colors/README.txt b/runtime/colors/README.txt
index 3b3445cbc9..8fa6f322ab 100644
--- a/runtime/colors/README.txt
+++ b/runtime/colors/README.txt
@@ -41,9 +41,16 @@ this autocmd might be useful:
autocmd SourcePre */colors/blue_sky.vim set background=dark
Replace "blue_sky" with the name of the colorscheme.
-In case you want to tweak a colorscheme after it was loaded, check out that
+In case you want to tweak a colorscheme after it was loaded, check out the
ColorScheme autocmd event.
+To customize a colorscheme use another name, e.g. "~/.vim/colors/mine.vim",
+and use `:runtime` to load the original colorscheme:
+ " load the "evening" colorscheme
+ runtime colors/evening.vim
+ " change the color of statements
+ hi Statement ctermfg=Blue guifg=Blue
+
To see which highlight group is used where, find the help for
"highlight-groups" and "group-name".