feat(nvim): improve hls for markup list numbers

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

View File

@ -2,12 +2,17 @@
( (
([ ([
(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)
(list_marker_dot)
]) @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.surimiOrange } },
{ "@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 } },