mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 01:16:31 +00:00
fix(lsp): add missing LSP semantic token highlight links
Added the following LSP semantic token types to be linked to highlight groups by default: * @lsp.type.event * @lsp.type.keyword * @lsp.type.modifier * @lsp.type.number * @lsp.type.operator * @lsp.type.regexp * @lsp.type.string
This commit is contained in:

committed by
Christian Clason

parent
ee89ba1d75
commit
542c910a1d
@@ -290,13 +290,20 @@ static const char *highlight_init_both[] = {
|
||||
"default link @lsp.type.decorator @attribute",
|
||||
"default link @lsp.type.enum @type",
|
||||
"default link @lsp.type.enumMember @constant",
|
||||
"default link @lsp.type.event @type",
|
||||
"default link @lsp.type.function @function",
|
||||
"default link @lsp.type.interface @type",
|
||||
"default link @lsp.type.keyword @keyword",
|
||||
"default link @lsp.type.macro @constant.macro",
|
||||
"default link @lsp.type.method @function.method",
|
||||
"default link @lsp.type.modifier @type.qualifier",
|
||||
"default link @lsp.type.namespace @module",
|
||||
"default link @lsp.type.number @number",
|
||||
"default link @lsp.type.operator @operator",
|
||||
"default link @lsp.type.parameter @variable.parameter",
|
||||
"default link @lsp.type.property @property",
|
||||
"default link @lsp.type.regexp @string.regexp",
|
||||
"default link @lsp.type.string @string",
|
||||
"default link @lsp.type.struct @type",
|
||||
"default link @lsp.type.type @type",
|
||||
"default link @lsp.type.typeParameter @type.definition",
|
||||
|
Reference in New Issue
Block a user