Fix wrong undo entries being added on completion on Neovim (#1633)

Closes #1632
This commit is contained in:
suguruwataru
2026-01-04 19:43:59 +08:00
committed by GitHub
parent 308b8c9f75
commit 2acefda0a0
+1 -1
View File
@@ -19,7 +19,7 @@ function! s:do(winid, func) abort
return
endif
if !has('nvim') && exists('*win_execute')
if exists('*win_execute')
let s:Do = a:func
try
noautocmd keepalt keepjumps call win_execute(a:winid, 'call s:Do()')