mirror of
https://github.com/prabirshrestha/vim-lsp.git
synced 2025-12-14 20:35:59 +01:00
fix queue (#1316)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user