Black foreground color in visual mode so comments aren't obliterated when using 16-color palette.

This commit is contained in:
Josh Dick
2015-11-21 14:45:00 -05:00
parent 58dd4a6599
commit a4cf4d6c80

View File

@@ -1,6 +1,6 @@
" Vim Color File " Vim Color File
" Name: onedark.vim " Name: onedark.vim
" Version: 1.0 " Version: 1.1
" Maintainer: https://github.com/joshdick/onedark.vim/ " Maintainer: https://github.com/joshdick/onedark.vim/
" License: The MIT License (MIT) " License: The MIT License (MIT)
" Based On: https://github.com/MaxSt/FlatColor/ " Based On: https://github.com/MaxSt/FlatColor/
@@ -173,7 +173,7 @@ call s:h("TabLine", {}) " tab pages line, not active tab page label
call s:h("TabLineFill", {}) " tab pages line, where there are no labels call s:h("TabLineFill", {}) " tab pages line, where there are no labels
call s:h("TabLineSel", {}) " tab pages line, active tab page label call s:h("TabLineSel", {}) " tab pages line, active tab page label
call s:h("Title", { "fg": s:green }) " titles for output from ":set all", ":autocmd" etc. call s:h("Title", { "fg": s:green }) " titles for output from ":set all", ":autocmd" etc.
call s:h("Visual", { "bg": s:visual_grey }) " Visual mode selection call s:h("Visual", { "fg": s:black, "bg": s:visual_grey }) " Visual mode selection
call s:h("VisualNOS", { "bg": s:visual_grey }) " Visual mode selection when vim is "Not Owning the Selection". Only X11 Gui's gui-x11 and xterm-clipboard supports this. call s:h("VisualNOS", { "bg": s:visual_grey }) " Visual mode selection when vim is "Not Owning the Selection". Only X11 Gui's gui-x11 and xterm-clipboard supports this.
call s:h("WarningMsg", { "fg": s:red }) " warning messages call s:h("WarningMsg", { "fg": s:red }) " warning messages
call s:h("WildMenu", {}) " current match in 'wildmenu' completion call s:h("WildMenu", {}) " current match in 'wildmenu' completion