fix: cursorline auto group commands
This commit is contained in:
parent
a3ac14d568
commit
9f4c2d084c
|
@ -91,8 +91,9 @@
|
||||||
# TODO dark should be weak, light should be strong
|
# TODO dark should be weak, light should be strong
|
||||||
|
|
||||||
bg_weak1 = ["#1B1C1D", 232, "gray"]
|
bg_weak1 = ["#1B1C1D", 232, "gray"]
|
||||||
bg_weak2 = ["#1F1F1F", 232, "gray"]
|
bg_cursorcolumn = ["#1F1F1F", 232, "gray"]
|
||||||
bg = ["#202122", 234, "black"]
|
bg = ["#202122", 234, "black"]
|
||||||
|
bg_input = ["#384046", 17, "darkblue"]
|
||||||
fg_weak1 = ["#494646", 238, "gray"]
|
fg_weak1 = ["#494646", 238, "gray"]
|
||||||
fg_comment = ["#5d5d5d", 240, "gray"]
|
fg_comment = ["#5d5d5d", 240, "gray"]
|
||||||
fg_weak2 = ["#716c6c", 243, "gray"]
|
fg_weak2 = ["#716c6c", 243, "gray"]
|
||||||
|
@ -269,7 +270,7 @@
|
||||||
[ "Title", "NONE", fg_strong2, "bold" ],
|
[ "Title", "NONE", fg_strong2, "bold" ],
|
||||||
|
|
||||||
[ "LineNr", bg, ui_fg_weak2, "NONE" ],
|
[ "LineNr", bg, ui_fg_weak2, "NONE" ],
|
||||||
[ "CursorLineNr", bg, ui_fg_strong1, "NONE" ],
|
[ "CursorLineNr", bg, ui_fg_strong1, "bold" ],
|
||||||
|
|
||||||
# [ "helpLeadBlank", "NONE", grayfg, "NONE" ],
|
# [ "helpLeadBlank", "NONE", grayfg, "NONE" ],
|
||||||
# [ "helpNormal", "NONE", grayfg, "NONE" ],
|
# [ "helpNormal", "NONE", grayfg, "NONE" ],
|
||||||
|
@ -309,7 +310,7 @@
|
||||||
[ "WarningMsg", "NONE", ui_fg_warningmsg, "bold" ],
|
[ "WarningMsg", "NONE", ui_fg_warningmsg, "bold" ],
|
||||||
|
|
||||||
[ "Cursor", ui_cursor_bg, ui_cursor_fg, "bold" ],
|
[ "Cursor", ui_cursor_bg, ui_cursor_fg, "bold" ],
|
||||||
[ "CursorColumn", bg_weak2, "NONE", "NONE" ],
|
[ "CursorColumn", bg_cursorcolumn, "NONE", "NONE" ],
|
||||||
|
|
||||||
[ "EndOfBuffer", bg, bg, "NONE" ],
|
[ "EndOfBuffer", bg, bg, "NONE" ],
|
||||||
|
|
||||||
|
@ -818,8 +819,8 @@ endif
|
||||||
|
|
||||||
augroup cursorlinebg
|
augroup cursorlinebg
|
||||||
au!
|
au!
|
||||||
au InsertEnter * hi CursorLine ctermbg=232 ctermfg=NONE cterm=NONE guibg=#384046 guifg=NONE gui=NONE
|
au InsertEnter * hi CursorLine ctermbg=<%= bg_input[1] %> ctermfg=NONE cterm=NONE guibg=<%= bg_input[0] %> guifg=NONE
|
||||||
au InsertLeave * hi CursorLine ctermbg=232 ctermfg=NONE cterm=NONE guibg=#272829 guifg=NONE gui=NONE
|
au InsertLeave * hi CursorLine ctermbg=<%= bg_weak1[1] %> ctermfg=NONE cterm=NONE guibg=<%= bg_weak1[0] %> guifg=NONE
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue