Skip to content

Commit

Permalink
Revert "Use a different workaround for Neovim #23621."
Browse files Browse the repository at this point in the history
This reverts commit 65c2fa5.

This is no longer necessary.
neovim/neovim#25502 (comment)
  • Loading branch information
dstein64 committed Oct 14, 2023
1 parent 65c2fa5 commit 16181cb
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions packages/vim/.vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -287,13 +287,6 @@ function! OptsStl() abort
if !empty(l:options)
let l:result = '[' . join(l:options, ',') . ']'
endif
" Add a workaround for Neovim #23621 (see the first comment, about <silent>
" used with :, which is applicable here). This approach is used instead of
" 'autocmd OptionSet * silent! redrawstatus!' since the latter results in a
" cursor blinking or disappearing (and status bar blinking) when using
" scrollview with all signs and a vertically split window, as of Neovim PR
" #25395 (reported in Neovim #25502).
redrawstatus!
return l:result
endfunction

Expand Down Expand Up @@ -726,6 +719,10 @@ augroup autocommands
autocmd BufWritePre * if !isdirectory(expand('<afile>:p:h'))
\ | call mkdir(expand('<afile>:p:h'), 'p') | endif

" Add a workaround for Neovim #23621 (see the first comment, about <silent>
" used with :, which is applicable here).
autocmd OptionSet * silent! redrawstatus!

" === FileType ===
" FileType autocommands are used in preference to ftplugin/ and
" after/ftplugin, to 1) keep settings contained to .vimrc and avoid
Expand Down

0 comments on commit 16181cb

Please sign in to comment.