add:native css color highlighter

This commit is contained in:
2026-04-14 03:38:27 +09:00
parent 2bd4cc0098
commit 67d1e11934
3 changed files with 8 additions and 0 deletions

View File

@@ -78,6 +78,9 @@ function M.setup()
if client:supports_method("textDocument/definition") then
vim.bo[bufnr].tagfunc = "v:lua.vim.lsp.tagfunc"
end
if client:supports_method("textDocument/documentColor") then
vim.lsp.document_color.enable(true, { bufnr = bufnr }, { style = "virtual" })
end
local map = function(mode, lhs, rhs, desc)
vim.keymap.set(mode, lhs, rhs, {