summaryrefslogtreecommitdiff
path: root/.config/nvim
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2022-01-12 20:34:48 +0100
committerSanto Cariotti <santo@dcariotti.me>2022-01-12 20:34:48 +0100
commitd378fe274c9771f4a953b77d621a00634a95d537 (patch)
treef3e884e391164cb837431aaa69397b8dd45d4894 /.config/nvim
parente65927d06f0081697644e375a15884ac9772bf14 (diff)
nvim: fix colors for neovim 0.6
Diffstat (limited to '.config/nvim')
-rw-r--r--.config/nvim/init.vim6
1 files changed, 4 insertions, 2 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index c10d234..46f1b27 100644
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -82,7 +82,7 @@ set incsearch
set nowritebackup
set laststatus=2
-"set cursorline
+set cursorline " need for Neovim 0.6 for highlight CursorLineNr
set list " spaces as characters
set listchars=eol:⏎,tab:»·,trail:ˑ,nbsp:⎵
@@ -106,10 +106,12 @@ set background=dark
if has('nvim')
colorscheme gruvbox
- highlight CursorLineNr guibg=NONE
+ highlight CursorLine guibg=NONE
+ highlight CursorLineNr guibg=NONE guifg=ORANGE
highlight Pmenu guibg=#222f3d guifg=#ecf0f1
highlight PmenuSel guibg=#000000 guifg=#f1c40f
highlight StatusLine guibg=#ecf0f1 guifg=#282828
+ highlight StatusLineNC guibg=#2c3e50 guifg=#282828
"lua require('lualine_style')
lua require('git')