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 <vnadgaonkar@gmail.com>
Co-authored-by: Christian Clason <ch.clason+github@icloud.com>
This commit is contained in:
KrrishJain
2026-03-22 05:04:44 +05:30
committed by GitHub
parent cc518cf9ba
commit 0db8efcbe4

View File

@@ -277,7 +277,7 @@ api.nvim_set_decoration_provider(document_color_ns, {
) )
else else
-- Default swatch: \uf0c8 -- Default swatch: \uf0c8
local swatch = style == 'virtual' and ' ' or style local swatch = style == 'virtual' and ' ' or style
api.nvim_buf_set_extmark( api.nvim_buf_set_extmark(
bufnr, bufnr,
state.namespace, state.namespace,