mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-11-10 02:39:40 +00:00
Override colorscheme's cursor line number color
This commit is contained in:
parent
5edd892f48
commit
11baef383b
|
@ -20,8 +20,15 @@ set guioptions-=r " Remove right-hand scrollbar
|
|||
set guioptions-=L " Remove left-hand scrollbar
|
||||
]]
|
||||
|
||||
-- Use more noticable cursor line color
|
||||
cmd[[highlight CursorLine guibg=#2b2b2b]]
|
||||
-- Override some colorscheme colors
|
||||
-- * Use more noticable cursor line color
|
||||
cmd[[
|
||||
augroup coloroverride
|
||||
autocmd!
|
||||
autocmd ColorScheme * highlight CursorLine guibg=#2b2b2b
|
||||
autocmd ColorScheme * highlight CursorLineNr guifg=#1F85DE ctermfg=LightBlue
|
||||
augroup END
|
||||
]]
|
||||
|
||||
-- Don't use true colors in TTY
|
||||
o.termguicolors = os.getenv("DISPLAY") and true or false
|
||||
|
|
Loading…
Reference in a new issue