feat(nvim): add improved markdown conceals

This commit is contained in:
Price Hiller 2024-01-24 16:03:05 -06:00
parent be34e301a4
commit 59f15c8333
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8

View File

@ -0,0 +1,14 @@
; extends
(
([
(list_marker_star)
(list_marker_plus)
(list_marker_minus)
]) @markup.list.markdown
(#offset! @markup.list.markdown 0 0 0 -1)
(#set! conceal "•")
)
; checkboxes
((task_list_marker_unchecked) @markup.list.unchecked.markdown (#set! conceal ""))
((task_list_marker_checked) @markup.list.checked.markdown (#set! conceal "󰄲"))