Skip to content

Commit

Permalink
Fix cursor disappering in some cases on Neovim
Browse files Browse the repository at this point in the history
  • Loading branch information
lambdalisue committed Nov 16, 2024
1 parent 2cf57c6 commit 95218a9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions autoload/fern/internal/cursor.vim
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
let s:t_ve_saved = &t_ve
let s:guicursor_saved = &guicursor

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

function! s:restore() abort
set guicursor+=a:Cursor/lCursor
let &guicursor = s:guicursor_saved
set guicursor-=a:FernTransparentCursor/lCursor
endfunction

function! s:highlight() abort
Expand Down

0 comments on commit 95218a9

Please sign in to comment.