From 4c142d2fa5d98c8df69d8b29275d7962f6bb8834 Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Sun, 6 Nov 2022 11:12:06 +0000 Subject: [PATCH] Only setup cursor shape in vim, not nvim Neovim already changes cursor shape by default, there's no need to override it. --- plugin/settings.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/settings.vim b/plugin/settings.vim index 76aefec..b0f1166 100644 --- a/plugin/settings.vim +++ b/plugin/settings.vim @@ -176,7 +176,7 @@ if &t_Co == 8 && $TERM !~# '^linux\|^Eterm' endif " Change cursor dependant on current mode -if has('cursorshape') && has('unix') && !has('gui_running') +if !has('nvim') && has('cursorshape') && has('unix') && !has('gui_running') if $TMUX ==# '' && $ITERM_PROFILE !=# '' let &t_SI = "\]50;CursorShape=1\x7" let &t_EI = "\]50;CursorShape=0\x7"