This commit is contained in:
Nachuan Tang
2023-02-10 02:36:22 -05:00
parent ecb2737474
commit cd77842641
2 changed files with 21 additions and 0 deletions
+3
View File
@@ -694,3 +694,6 @@ endif
" :verbose map ,cf
" }
if filereadable(g:mydotfiles_directory . "/config/theme.vim")
exec "source " . g:mydotfiles_directory . "/config/theme.vim"
endif
@@ -36,3 +36,21 @@ function! ThemeFix()
end
endfunction
function! GetRidOfBg()
let hiGroups = ['CocErrorSign']
for group in hiGroups
if hlexists(group)
execute('hi ' . group . ' ctermbg=none')
endif
endfor
endfunction
function! CocThemeFix()
hi CocErrorHighlight cterm=underline ctermfg=124 ctermbg=none
hi Error cterm=underline ctermfg=124 ctermbg=none
hi javaError cterm=underline ctermfg=124 ctermbg=none
call GetRidOfBg()
endfunction
call CocThemeFix()
au! ColorScheme * call CocThemeFix()