fix: improve help highlighting (#160)

This commit is contained in:
Michael Chris Lopez
2024-02-10 12:11:44 +01:00
committed by GitHub
parent 2730af5e14
commit 3df286bc84
2 changed files with 14 additions and 4 deletions

View File

@@ -306,6 +306,11 @@ local function generate(p, opt)
sym "@markup.raw.markdown" { Type }, sym "@markup.raw.markdown" { Type },
sym "@markup.link.url.markdown" { SpecialComment }, sym "@markup.link.url.markdown" { SpecialComment },
sym "@markup.link.vimdoc" { Identifier, gui = "underline" },
sym "@markup.raw.block.vimdoc" { fg = 'NONE' },
sym "@variable.parameter.vimdoc" { Type },
sym "@label.vimdoc" { Type, gui = "bold" },
-- LSP Semantic Token Groups -- LSP Semantic Token Groups
sym "@lsp.type.boolean" { sym "@boolean" }, sym "@lsp.type.boolean" { sym "@boolean" },
sym "@lsp.type.builtinType" { sym "@type.builtin" }, sym "@lsp.type.builtinType" { sym "@type.builtin" },
@@ -366,8 +371,8 @@ local function generate(p, opt)
markdownLinkText { Identifier, gui = "underline" }, markdownLinkText { Identifier, gui = "underline" },
markdownLinkTextDelimiter { Delimiter }, markdownLinkTextDelimiter { Delimiter },
helpHyperTextEntry { Special }, helpHyperTextEntry { Type, gui = "bold" },
helpHyperTextJump { Constant }, helpHyperTextJump { Identifier, gui = "underline" },
helpSpecial { Type }, helpSpecial { Type },
helpOption { Constant }, helpOption { Constant },

View File

@@ -306,6 +306,11 @@ local function generate(p, opt)
sym "@markup.raw.markdown" { Type }, sym "@markup.raw.markdown" { Type },
sym "@markup.link.url.markdown" { SpecialComment }, sym "@markup.link.url.markdown" { SpecialComment },
sym "@markup.link.vimdoc" { Identifier, gui = "underline" },
sym "@markup.raw.block.vimdoc" { fg = 'NONE' },
sym "@variable.parameter.vimdoc" { Type },
sym "@label.vimdoc" { Type, gui = "bold" },
-- LSP Semantic Token Groups -- LSP Semantic Token Groups
sym "@lsp.type.boolean" { sym "@boolean" }, sym "@lsp.type.boolean" { sym "@boolean" },
sym "@lsp.type.builtinType" { sym "@type.builtin" }, sym "@lsp.type.builtinType" { sym "@type.builtin" },
@@ -366,8 +371,8 @@ local function generate(p, opt)
markdownLinkText { Identifier, gui = "underline" }, markdownLinkText { Identifier, gui = "underline" },
markdownLinkTextDelimiter { Delimiter }, markdownLinkTextDelimiter { Delimiter },
helpHyperTextEntry { Special }, helpHyperTextEntry { Type, gui = "bold" },
helpHyperTextJump { Constant }, helpHyperTextJump { Identifier, gui = "underline" },
helpSpecial { Type }, helpSpecial { Type },
helpOption { Constant }, helpOption { Constant },