mirror of
https://github.com/neovim/neovim.git
synced 2026-04-01 05:12:02 +00:00
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:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user