fix(lsp): reset document color processed version on clear (#38582)

(cherry picked from commit 92a667c07f)
This commit is contained in:
Maria Solano
2026-03-29 18:20:27 -07:00
committed by github-actions[bot]
parent ffd544f153
commit f2764a596d

View File

@@ -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