fix colors in native lsp

This commit is contained in:
sgraves committed 2026-11-04 15:11:30 +00:00
1 parent 67539072a5
commit b87fbb4f46
1 file changed
+6
+6
View File
@@ -24,6 +24,12 @@ end
local symbols = require("darcula.utils.symbols") local symbols = require("darcula.utils.symbols")
local utils = require("darcula.utils") local utils = require("darcula.utils")
-- coc.nvim paints no semantic-token layer, so its colors come from treesitter alone.
-- Neovim's semantic tokens (priority 125) outrank treesitter (100) and recolor
-- identifiers (ALL_CAPS constants, class names, ...), so disable them to keep the
-- native path rendering exactly like coc.
vim.lsp.semantic_tokens.enable(false)
vim.diagnostic.config( vim.diagnostic.config(
{ {
float = { float = {