aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorMax Christian Pohle2020-07-16 21:08:59 +0200
committerMax Christian Pohle2020-07-16 21:08:59 +0200
commit52c95f3188591e5d9b5fcffed5cc324617dee6f1 (patch)
tree036bef28910d283b57c0269dd8545f9418fe9fcb /plugin
parent3abfad483660e8dcdd77965a237c271a90cec8e7 (diff)
downloadvim-52c95f3188591e5d9b5fcffed5cc324617dee6f1.tar.bz2
vim-52c95f3188591e5d9b5fcffed5cc324617dee6f1.zip
Improved statusline, color for root user
Diffstat (limited to 'plugin')
-rw-r--r--plugin/statusline.vim5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugin/statusline.vim b/plugin/statusline.vim
index bad9eb9..561a47e 100644
--- a/plugin/statusline.vim
+++ b/plugin/statusline.vim
@@ -125,8 +125,9 @@ augroup MAX_FANCYLINE
125 125
126 126
127 if $USER ==? 'root' 127 if $USER ==? 'root'
128 let invert_group = CreateInvertGroup("ErrorMsg") 128 let highlight_group_root = "ErrorMsg"
129 let g:group_tabline = invert_group 129 let invert_group = CreateInvertGroup(highlight_group_root)
130 let g:group_tabline = highlight_group_root
130 endif 131 endif
131 132
132 function! ApplyColorScheme() 133 function! ApplyColorScheme()
..