Skip to content

Commit 3df286b

Browse files
authored
fix: improve help highlighting (#160)
1 parent 2730af5 commit 3df286b

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

lua/zenbones/specs/dark.lua

+7-2
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,11 @@ local function generate(p, opt)
306306
sym "@markup.raw.markdown" { Type },
307307
sym "@markup.link.url.markdown" { SpecialComment },
308308

309+
sym "@markup.link.vimdoc" { Identifier, gui = "underline" },
310+
sym "@markup.raw.block.vimdoc" { fg = 'NONE' },
311+
sym "@variable.parameter.vimdoc" { Type },
312+
sym "@label.vimdoc" { Type, gui = "bold" },
313+
309314
-- LSP Semantic Token Groups
310315
sym "@lsp.type.boolean" { sym "@boolean" },
311316
sym "@lsp.type.builtinType" { sym "@type.builtin" },
@@ -366,8 +371,8 @@ local function generate(p, opt)
366371
markdownLinkText { Identifier, gui = "underline" },
367372
markdownLinkTextDelimiter { Delimiter },
368373

369-
helpHyperTextEntry { Special },
370-
helpHyperTextJump { Constant },
374+
helpHyperTextEntry { Type, gui = "bold" },
375+
helpHyperTextJump { Identifier, gui = "underline" },
371376
helpSpecial { Type },
372377
helpOption { Constant },
373378

lua/zenbones/specs/light.lua

+7-2
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,11 @@ local function generate(p, opt)
306306
sym "@markup.raw.markdown" { Type },
307307
sym "@markup.link.url.markdown" { SpecialComment },
308308

309+
sym "@markup.link.vimdoc" { Identifier, gui = "underline" },
310+
sym "@markup.raw.block.vimdoc" { fg = 'NONE' },
311+
sym "@variable.parameter.vimdoc" { Type },
312+
sym "@label.vimdoc" { Type, gui = "bold" },
313+
309314
-- LSP Semantic Token Groups
310315
sym "@lsp.type.boolean" { sym "@boolean" },
311316
sym "@lsp.type.builtinType" { sym "@type.builtin" },
@@ -366,8 +371,8 @@ local function generate(p, opt)
366371
markdownLinkText { Identifier, gui = "underline" },
367372
markdownLinkTextDelimiter { Delimiter },
368373

369-
helpHyperTextEntry { Special },
370-
helpHyperTextJump { Constant },
374+
helpHyperTextEntry { Type, gui = "bold" },
375+
helpHyperTextJump { Identifier, gui = "underline" },
371376
helpSpecial { Type },
372377
helpOption { Constant },
373378

0 commit comments

Comments
 (0)