mirror of
https://github.com/neovim/neovim.git
synced 2026-04-21 06:45:37 +00:00
feat(lsp): show color preview in completion items #32138
Problem: Color completion items display as plain text without visual preview Solution: Parse RGB/hex colors from documentation and render with colored symbol ■
This commit is contained in:
@@ -315,6 +315,7 @@ LSP
|
||||
• Support for `workspace/codeLens/refresh`:
|
||||
https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#codeLens_refresh
|
||||
• `gx` will use `textDocument/documentLink` if available.
|
||||
• |vim.lsp.completion.enable()| adds colored symbol preview for color items.
|
||||
|
||||
LUA
|
||||
|
||||
|
||||
Reference in New Issue
Block a user