Skip to content

Commit 2eecca9

Browse files
committed
bugfix
1 parent 69de7c1 commit 2eecca9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

autoload/easycomplete.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2687,8 +2687,8 @@ function! easycomplete#BufWritePost()
26872687
endfunction
26882688

26892689
function! easycomplete#CursorMoved()
2690-
if easycomplete#ok('g:easycomplete_diagnostics_enable')
2691-
\ && easycomplete#util#NormalMode() && s:NotInsertMode()
2690+
if g:easycomplete_diagnostics_enable
2691+
\ && easycomplete#util#NormalMode() && easycomplete#util#NotInsertMode()
26922692
" 防止快速换行时的密集调用带来的卡顿
26932693
if s:easycomplete_cursor_move_timer > 0
26942694
call timer_stop(s:easycomplete_cursor_move_timer)

0 commit comments

Comments
 (0)