diff --git a/colors/onedark.vim b/colors/onedark.vim index 24dc490..aa8855d 100644 --- a/colors/onedark.vim +++ b/colors/onedark.vim @@ -1,6 +1,6 @@ " Vim Color File " Name: onedark.vim -" Version: 1.2 +" Version: 1.21 " Maintainer: https://github.com/joshdick/onedark.vim/ " License: The MIT License (MIT) " Based On: https://github.com/MaxSt/FlatColor/ @@ -81,6 +81,7 @@ let s:cyan = { "gui": "#56B6C2", "cterm": "38", "cterm16": "6"} " Alternate cter let s:white = { "gui": "#ABB2BF", "cterm": "145", "cterm16" : "7" } let s:black = { "gui": "#282C34", "cterm": "235", "cterm16": "8" } +let s:visual_black = { "gui": "NONE", "cterm": "NONE", "cterm16": s:black.cterm16 } " Black out selected text in 16-color visual mode let s:comment_grey = { "gui": "#5C6670", "cterm": "59", "cterm16": "15" } let s:gutter_fg_grey = { "gui": "#636D83", "cterm": "238", "cterm16": "15" } @@ -175,7 +176,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("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("Visual", { "fg": s:black, "bg": s:visual_grey }) " Visual mode selection +call s:h("Visual", { "fg": s:visual_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("WarningMsg", { "fg": s:red }) " warning messages call s:h("WildMenu", {}) " current match in 'wildmenu' completion