aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vimrc-custom-statusline22
1 files changed, 14 insertions, 8 deletions
diff --git a/vimrc-custom-statusline b/vimrc-custom-statusline
index e57c697..19942cd 100644
--- a/vimrc-custom-statusline
+++ b/vimrc-custom-statusline
@@ -1104,16 +1104,22 @@ function! ExtendColorTheme()
1104 1104
1105 highlight! link Convention Error 1105 highlight! link Convention Error
1106 1106
1107 " highlight! StatusLineHighlight gui=inverse 1107 let g:status_fg=synIDattr(hlID('Cursor'), 'fg#')
1108 " " highlight! StatusLineInverse gui=NONE 1108 let g:status_bg=synIDattr(hlID('Cursor'), 'bg#')
1109 " highlight! link StatusLineHighlight StatusLineNC 1109 let g:status_sel=synIDattr(hlID('StatusLine'), 'fg#')
1110 " highlight! link StatusLineInverse StatusLine 1110
1111 execute 'highlight! StatusLine'
1112 \ .' guibg='.g:status_sel
1113 \ .' guifg=NONE'
1114
1115 execute 'highlight! User1 guibg='.g:status_bg
1116 execute 'highlight! User1 guifg='.g:status_fg
1117
1118 execute 'highlight! User2 guibg='.g:status_sel
1119 execute 'highlight! User2 guifg='.g:status_bg
1120
1111 1121
1112 highlight! StatusLine gui=NONE guibg=#000000 guifg=#ffffaa
1113 " highlight! StatusLineNC gui=NONE
1114 1122
1115 highlight! User1 guibg=#00000f guifg=#ffffaa gui=NONE
1116 highlight! User2 guibg=NONE guifg=#00000f gui=NONE
1117 " autocmd InsertLeave * call matchadd('Conceal', ' \+$', -1, 101, { 'conceal': '⟶' }) 1123 " autocmd InsertLeave * call matchadd('Conceal', ' \+$', -1, 101, { 'conceal': '⟶' })
1118 autocmd InsertEnter * silent! call matchdelete(101) 1124 autocmd InsertEnter * silent! call matchdelete(101)
1119 autocmd InsertLeave * call matchadd('Convention', ' \+$', -1, 101, { 'conceal': '⟶' }) 1125 autocmd InsertLeave * call matchadd('Convention', ' \+$', -1, 101, { 'conceal': '⟶' })
..