Skip to content

Commit 95218a9

Browse files
committed
Fix cursor disappering in some cases on Neovim
1 parent 2cf57c6 commit 95218a9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

autoload/fern/internal/cursor.vim

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
let s:t_ve_saved = &t_ve
2-
let s:guicursor_saved = &guicursor
32

43
function! fern#internal#cursor#hide() abort
54
call s:hide()
@@ -16,8 +15,7 @@ if has('nvim-0.5.0')
1615
endfunction
1716

1817
function! s:restore() abort
19-
set guicursor+=a:Cursor/lCursor
20-
let &guicursor = s:guicursor_saved
18+
set guicursor-=a:FernTransparentCursor/lCursor
2119
endfunction
2220

2321
function! s:highlight() abort

0 commit comments

Comments
 (0)