From 542c910a1d3ffd29b59278b740abd7487315cb47 Mon Sep 17 00:00:00 2001 From: Caleb Marshall Date: Sat, 9 Mar 2024 14:23:25 -0600 Subject: 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 --- src/nvim/highlight_group.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src') diff --git a/src/nvim/highlight_group.c b/src/nvim/highlight_group.c index 1474a2ba06..682df8bcb5 100644 --- a/src/nvim/highlight_group.c +++ b/src/nvim/highlight_group.c @@ -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", -- cgit