vimrc: don't set cursorline on VimEnter

This commit is contained in:
surtur 2022-10-30 04:02:27 +01:00
parent b207eaa0ab
commit bbc76bc4cd
Signed by: wanderer
SSH Key Fingerprint: SHA256:MdCZyJ2sHLltrLBp0xQO0O1qTW9BT/xl5nXkDvhlMCI

@ -810,7 +810,7 @@ augroup END
if $DISPLAY !=? '' && &t_Co == 256
augroup cursorline
autocmd!
autocmd VimEnter,WinEnter,BufWinEnter * setlocal cursorline
autocmd WinEnter,BufWinEnter * setlocal cursorline
autocmd WinLeave * setlocal nocursorline
augroup END
endif