From 0aa4e5c973413add9766689385bf9137d8c6cbc9 Mon Sep 17 00:00:00 2001 From: Akshay Hegde Date: Tue, 15 Jun 2021 03:17:32 -0700 Subject: [PATCH] Use a base color for Visual selections This sidesteps an issue after patch 8.2.2797 which means Search highlight group overrides the Visual highlight group. Additionally, this commit brings Spacegray's Visual selection highlighting more in line with default Vim colorschemes, which also use a background color (instead of no background color which allowed Spacegray before this commit to show other highlight groups when Visual selection was active). --- colors/spacegray.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colors/spacegray.vim b/colors/spacegray.vim index efe9b07..bba43c3 100644 --- a/colors/spacegray.vim +++ b/colors/spacegray.vim @@ -123,7 +123,7 @@ endif hi Underlined ctermbg=NONE ctermfg=66 guibg=NONE guifg=#5F8787 cterm=NONE gui=NONE hi Ignore ctermbg=NONE ctermfg=250 guibg=NONE guifg=#BCBCBC cterm=NONE gui=NONE -hi Visual ctermbg=236 ctermfg=NONE guibg=#404040 guifg=NONE cterm=NONE gui=NONE +hi Visual ctermbg=233 ctermfg=4 guibg=#111314 guifg=#6E9CAF cterm=reverse gui=reverse hi VisualNOS ctermbg=8 ctermfg=NONE guibg=NONE guifg=NONE cterm=bold gui=bold hi FoldColumn ctermbg=NONE ctermfg=242 guibg=#1C1C1C guifg=#6C6C6C cterm=NONE gui=NONE