feat(nvim): improve hls for markup list numbers
Some checks failed
Check Formatting of Files / Check-Formatting (push) Failing after 35s

This commit is contained in:
Price Hiller 2024-10-09 11:32:46 -05:00
parent b0b7c72ebe
commit 09d61afb46
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB
2 changed files with 6 additions and 1 deletions

View File

@ -2,12 +2,16 @@
( (
([ ([
(list_marker_star) (list_marker_star)
(list_marker_plus)
(list_marker_minus) (list_marker_minus)
]) @markup.list ]) @markup.list
(#offset! @markup.list 0 0 0 -1) (#offset! @markup.list 0 0 0 -1)
(#set! conceal "•") (#set! conceal "•")
) )
(
([
(list_marker_plus)
]) @markup.list.number
)
; checkboxes ; checkboxes
((task_list_marker_unchecked) @markup.list.unchecked (#set! conceal "")) ((task_list_marker_unchecked) @markup.list.unchecked (#set! conceal ""))

View File

@ -266,6 +266,7 @@ return {
}, },
{ "Headline", { bg = colors.sumiInk0 } }, { "Headline", { bg = colors.sumiInk0 } },
{ "@markup.list", { fg = colors.crystalBlue } }, { "@markup.list", { fg = colors.crystalBlue } },
{ "@markup.list.number", { fg = colors.roninYellow } },
{ "@markup.list.checked", { fg = colors.springGreen } }, { "@markup.list.checked", { fg = colors.springGreen } },
{ "@markup.list.indeterminate", { fg = colors.carpYellow } }, { "@markup.list.indeterminate", { fg = colors.carpYellow } },
{ "@markup.verbatim", { fg = colors.springGreen, bg = colors.sumiInk0 } }, { "@markup.verbatim", { fg = colors.springGreen, bg = colors.sumiInk0 } },