Fix #963
Fix #966
This commit is contained in:
hrsh7th
2022-05-04 23:51:59 +09:00
parent c6126cca36
commit f81bfee109
3 changed files with 19 additions and 20 deletions

View File

@@ -74,9 +74,10 @@ end
---Suspend completion
core.suspend = function(self)
self.suspending = true
return function()
-- It's needed to avoid conflicting with autocmd debouncing.
return vim.schedule_wrap(function()
self.suspending = false
end
end)
end
---Get sources that sorted by priority