fix colors in native lsp
This commit is contained in:
1 parent
67539072a5
commit
b87fbb4f46
1 file changed
+6
@@ -24,6 +24,12 @@ end
|
||||
local symbols = require("darcula.utils.symbols")
|
||||
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(
|
||||
{
|
||||
float = {
|
||||
|
||||
Reference in new issue
Block a user