mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-19 08:39:50 +01:00
fix: override cursorlineopt=number
via autocmds
This commit is contained in:
parent
c323bbb865
commit
498e8b7c80
1 changed files with 4 additions and 0 deletions
|
@ -75,9 +75,13 @@ in {
|
|||
set shortmess+=c
|
||||
set tm=${toString cfg.mapTimeout}
|
||||
set hidden
|
||||
|
||||
${optionalString cfg.theme.transparent ''
|
||||
" this needs to be set if the theme is transparent
|
||||
set cursorlineopt=number
|
||||
" override when vim is opened or a new buffer is entered
|
||||
autocmd VimEnter * setlocal cursorlineopt=number
|
||||
autocmd BufWinEnter * setlocal cursorlineopt=number
|
||||
''}
|
||||
${optionalString cfg.splitBelow ''
|
||||
set splitbelow
|
||||
|
|
Loading…
Reference in a new issue