From 3abfad483660e8dcdd77965a237c271a90cec8e7 Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Thu, 16 Jul 2020 20:41:11 +0200 Subject: Tiny mostly optical improvements --- plugin/statusline.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugin/statusline.vim') diff --git a/plugin/statusline.vim b/plugin/statusline.vim index 57fbfa4..bad9eb9 100644 --- a/plugin/statusline.vim +++ b/plugin/statusline.vim @@ -24,7 +24,7 @@ augroup MAX_FANCYLINE " this function reverts foreground color and background color of a given " highlight group and returns the name of a newly created _invert group function! CreateInvertGroup(highlight_group) - if(synIDattr(synIDtrans(hlID(a:highlight_group)), 'reverse', 'cterm')==1) + if(synIDattr(synIDtrans(hlID(a:highlight_group)), 'reverse', 'gui')==1) let w:color=synIDattr(hlID(a:highlight_group), 'fg#') else let w:color=synIDattr(hlID(a:highlight_group), 'bg#') -- cgit v1.2.3