This commit is contained in:
mattn
2022-05-23 10:17:33 +09:00
committed by GitHub
parent 1e1a0981a7
commit 013625b3b1

View File

@@ -1164,10 +1164,9 @@ function! s:add_didchange_queue(buf) abort
endfor
return
endif
if index(s:didchange_queue, a:buf) != -1
return
if index(s:didchange_queue, a:buf) == -1
call add(s:didchange_queue, a:buf)
endif
call add(s:didchange_queue, a:buf)
call lsp#log('s:send_didchange_queue() will be triggered')
call timer_stop(s:didchange_timer)
let l:lazy = &updatetime > 1000 ? &updatetime : 1000