File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -2684,7 +2684,7 @@ endfunction
26842684
26852685function ! easycomplete#CursorMoved ()
26862686 if g: easycomplete_diagnostics_enable
2687- \ && easycomplete#util#NormalMode () && easycomplete#util# NotInsertMode ()
2687+ \ && easycomplete#util#NormalMode () && s: NotInsertMode ()
26882688 " 防止快速换行时的密集调用带来的卡顿
26892689 if s: easycomplete_cursor_move_timer > 0
26902690 call timer_stop (s: easycomplete_cursor_move_timer )
Original file line number Diff line number Diff line change @@ -495,10 +495,13 @@ function! easycomplete#sign#LintPopup()
495495 call easycomplete#sign#DiagHoverFlush ()
496496 return
497497 endif
498- if easycomplete#util#InsertMode () && easycomplete#popup#LintPopupVisible ()
498+ if easycomplete#util#InsertMode ()
499499 call easycomplete#popup#CloseLintPopup ()
500500 return
501501 endif
502+ " if easycomplete#popup#LintPopupVisible()
503+ " call easycomplete#popup#CloseLintPopup()
504+ " endif
502505 let ctx = easycomplete#context ()
503506 " 换行则先清空
504507 if g: easycomplete_diagnostics_last_ln != ctx[" lnum" ]
@@ -692,3 +695,7 @@ endfunction
692695function ! s: StopAsyncRun (... )
693696 return call (' easycomplete#util#StopAsyncRun' , a: 000 )
694697endfunction
698+
699+ function ! s: trace (... )
700+ return call (' easycomplete#util#trace' , a: 000 )
701+ endfunction
You can’t perform that action at this time.
0 commit comments