From f2764a596d008fd5b24eaee70f5894c661e6d35a Mon Sep 17 00:00:00 2001 From: Maria Solano Date: Sun, 29 Mar 2026 18:20:27 -0700 Subject: [PATCH] fix(lsp): reset document color processed version on clear (#38582) (cherry picked from commit 92a667c07fe1790292dbb51b015b027e2057a9d4) --- runtime/lua/vim/lsp/document_color.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/runtime/lua/vim/lsp/document_color.lua b/runtime/lua/vim/lsp/document_color.lua index ab87e02afe..e2be1c4250 100644 --- a/runtime/lua/vim/lsp/document_color.lua +++ b/runtime/lua/vim/lsp/document_color.lua @@ -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