mirror of
https://github.com/neovim/neovim.git
synced 2026-03-29 20:02:03 +00:00
fix(lsp): stop and close timer when Capability is destroyed
This commit is contained in:
@@ -92,6 +92,7 @@ end
|
||||
|
||||
---@package
|
||||
function Completor:destroy()
|
||||
self:reset_timer()
|
||||
api.nvim_buf_clear_namespace(self.bufnr, namespace, 0, -1)
|
||||
api.nvim_del_augroup_by_id(self.augroup)
|
||||
self.active[self.bufnr] = nil
|
||||
|
||||
Reference in New Issue
Block a user