From 0db8efcbe4fc9642597ac93556793948c01f8f6f Mon Sep 17 00:00:00 2001 From: KrrishJain <142727494+KrrishJain@users.noreply.github.com> Date: Sun, 22 Mar 2026 05:04:44 +0530 Subject: [PATCH] fix(lsp): restore virtual document color visibility (#38407) Problem: Default swatch unicode character got lost. Solution: Put it back where it belongs. --------- Co-authored-by: vnadgaonkar-spec Co-authored-by: Christian Clason --- runtime/lua/vim/lsp/document_color.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/lua/vim/lsp/document_color.lua b/runtime/lua/vim/lsp/document_color.lua index 22fe32b80a..e31b500e8e 100644 --- a/runtime/lua/vim/lsp/document_color.lua +++ b/runtime/lua/vim/lsp/document_color.lua @@ -277,7 +277,7 @@ api.nvim_set_decoration_provider(document_color_ns, { ) else -- Default swatch: \uf0c8 - local swatch = style == 'virtual' and ' ' or style + local swatch = style == 'virtual' and ' ' or style api.nvim_buf_set_extmark( bufnr, state.namespace,