diff options
author | Max Christian Pohle | 2020-07-16 21:08:59 +0200 |
---|---|---|
committer | Max Christian Pohle | 2020-07-16 21:08:59 +0200 |
commit | 52c95f3188591e5d9b5fcffed5cc324617dee6f1 (patch) | |
tree | 036bef28910d283b57c0269dd8545f9418fe9fcb /plugin | |
parent | 3abfad483660e8dcdd77965a237c271a90cec8e7 (diff) | |
download | vim-52c95f3188591e5d9b5fcffed5cc324617dee6f1.tar.bz2 vim-52c95f3188591e5d9b5fcffed5cc324617dee6f1.zip |
Improved statusline, color for root user
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/statusline.vim | 5 |
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() |