mirror of
https://github.com/neovim/neovim.git
synced 2026-04-06 07:38:31 +00:00
fix(lsp): reset document color processed version on clear (#38582)
(cherry picked from commit 92a667c07f)
This commit is contained in:
committed by
github-actions[bot]
parent
ffd544f153
commit
f2764a596d
@@ -236,6 +236,7 @@ end
|
||||
function Provider:clear()
|
||||
for _, state in pairs(self.client_state) do
|
||||
state.hl_info = {}
|
||||
state.processed_version = nil
|
||||
state.applied_version = nil
|
||||
api.nvim_buf_clear_namespace(self.bufnr, state.namespace, 0, -1)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user