From 062a3b2eae5bbd17dd14ce08bc3143bc25654a3c Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Fri, 11 Oct 2019 00:26:29 +0200 Subject: [PATCH] Check also for &termguicolors to enable/use gui colors --- colors/inkpot.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colors/inkpot.vim b/colors/inkpot.vim index 4c7c14f..53621e5 100644 --- a/colors/inkpot.vim +++ b/colors/inkpot.vim @@ -46,7 +46,7 @@ if ! exists("g:inkpot_black_background") let g:inkpot_black_background = 0 endif -if has("gui_running") +if has("gui_running") || (exists('+termguicolors') && &termguicolors) if ! g:inkpot_black_background hi Normal gui=NONE guifg=#cfbfad guibg=#1e1e27 else