mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 10:45:16 -07:00
fix(colorscheme): link LSP semantic tokens to treesitter groups
This commit is contained in:
parent
0054c18500
commit
8b23653695
@ -317,22 +317,22 @@ static const char *highlight_init_both[] = {
|
||||
"default link @tag.delimiter Delimiter",
|
||||
|
||||
// LSP semantic tokens
|
||||
"default link @lsp.type.class Structure",
|
||||
"default link @lsp.type.comment Comment",
|
||||
"default link @lsp.type.decorator Function",
|
||||
"default link @lsp.type.enum Structure",
|
||||
"default link @lsp.type.enumMember Constant",
|
||||
"default link @lsp.type.function Function",
|
||||
"default link @lsp.type.interface Structure",
|
||||
"default link @lsp.type.macro Macro",
|
||||
"default link @lsp.type.method Function",
|
||||
"default link @lsp.type.namespace Structure",
|
||||
"default link @lsp.type.parameter Identifier",
|
||||
"default link @lsp.type.property Identifier",
|
||||
"default link @lsp.type.struct Structure",
|
||||
"default link @lsp.type.type Type",
|
||||
"default link @lsp.type.typeParameter TypeDef",
|
||||
"default link @lsp.type.variable NONE", // don't highlight to reduce visual overload
|
||||
"default link @lsp.type.class @type",
|
||||
"default link @lsp.type.comment @comment",
|
||||
"default link @lsp.type.decorator @attribute",
|
||||
"default link @lsp.type.enum @type",
|
||||
"default link @lsp.type.enumMember @constant",
|
||||
"default link @lsp.type.function @function",
|
||||
"default link @lsp.type.interface @type",
|
||||
"default link @lsp.type.macro @constant.macro",
|
||||
"default link @lsp.type.method @function.method",
|
||||
"default link @lsp.type.namespace @module",
|
||||
"default link @lsp.type.parameter @variable.parameter",
|
||||
"default link @lsp.type.property @property",
|
||||
"default link @lsp.type.struct @type",
|
||||
"default link @lsp.type.type @type",
|
||||
"default link @lsp.type.typeParameter @type.definition",
|
||||
"default link @lsp.type.variable @variable",
|
||||
|
||||
NULL
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user