Skip to content

Commit 7a2ba00

Browse files
committed
bugfix
1 parent 320f883 commit 7a2ba00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugin/easycomplete.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -579,15 +579,15 @@ augroup easycomplete#NormalBinding
579579
autocmd CursorMoved * call easycomplete#CursorMoved()
580580
autocmd BufEnter * call easycomplete#BufEnter()
581581
" FirstComplete Entry
582-
if has("vim") " 输入激发相关的事件放在 lua 中绑定
582+
if !has("nvim") " 输入激发相关的事件放在 lua 中绑定
583583
autocmd TextChangedI * call easycomplete#TextChangedI()
584584
endif
585585
" autocmd TextChanged * call easycomplete#Textchanged()
586586
autocmd InsertEnter * call easycomplete#InsertEnter()
587587
autocmd ExitPre * call easycomplete#finish()
588588
" SecondComplete Entry
589589
autocmd CompleteChanged * noa call easycomplete#CompleteChanged()
590-
if has("vim")
590+
if !has("nvim")
591591
autocmd TextChangedP * noa call easycomplete#TextChangedP()
592592
autocmd InsertCharPre * call easycomplete#InsertCharPre()
593593
endif

0 commit comments

Comments
 (0)