diff options
Diffstat (limited to 'plugin/statusline.vim')
-rw-r--r-- | plugin/statusline.vim | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
24 | " this function reverts foreground color and background color of a given | 24 | " this function reverts foreground color and background color of a given |
25 | " highlight group and returns the name of a newly created _invert group | 25 | " highlight group and returns the name of a newly created _invert group |
26 | function! CreateInvertGroup(highlight_group) | 26 | function! CreateInvertGroup(highlight_group) |
27 | if(synIDattr(synIDtrans(hlID(a:highlight_group)), 'reverse', 'cterm')==1) | 27 | if(synIDattr(synIDtrans(hlID(a:highlight_group)), 'reverse', 'gui')==1) |
28 | let w:color=synIDattr(hlID(a:highlight_group), 'fg#') | 28 | let w:color=synIDattr(hlID(a:highlight_group), 'fg#') |
29 | else | 29 | else |
30 | let w:color=synIDattr(hlID(a:highlight_group), 'bg#') | 30 | let w:color=synIDattr(hlID(a:highlight_group), 'bg#') |