aboutsummaryrefslogtreecommitdiff
path: root/plugin/statusline.vim
diff options
context:
space:
mode:
authorMax Christian Pohle2020-07-16 20:41:11 +0200
committerMax Christian Pohle2020-07-16 20:41:11 +0200
commit3abfad483660e8dcdd77965a237c271a90cec8e7 (patch)
treef5ac85cf568b8865fc25a6e3ae07861ea6b4ca20 /plugin/statusline.vim
parent19156c818fdd12865c6d17872eea917ab3aaee82 (diff)
downloadvim-3abfad483660e8dcdd77965a237c271a90cec8e7.tar.bz2
vim-3abfad483660e8dcdd77965a237c271a90cec8e7.zip
Tiny mostly optical improvements
Diffstat (limited to 'plugin/statusline.vim')
-rw-r--r--plugin/statusline.vim2
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#')
..