aboutsummaryrefslogtreecommitdiff
path: root/runtime/colors
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-04-29 14:59:10 +0200
committerGitHub <noreply@github.com>2017-04-29 14:59:10 +0200
commit5a304b78647d1a3913cbab197ccde033ae0510cd (patch)
tree654eb1c155b568745309646e79b970e011527577 /runtime/colors
parent51a2d8dc36b56125c81a085a773eb47671eec7f0 (diff)
parent024ff6b80831a27d2f6571006eb6fdf94d95f882 (diff)
downloadrneovim-5a304b78647d1a3913cbab197ccde033ae0510cd.tar.gz
rneovim-5a304b78647d1a3913cbab197ccde033ae0510cd.tar.bz2
rneovim-5a304b78647d1a3913cbab197ccde033ae0510cd.zip
Merge #6615 from justinmk/vim-patches
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".