feat(nvim): add improved markdown conceals
This commit is contained in:
parent
be34e301a4
commit
59f15c8333
14
dots/.config/nvim/after/queries/markdown/highlights.scm
Normal file
14
dots/.config/nvim/after/queries/markdown/highlights.scm
Normal 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 ""))
|
Loading…
Reference in New Issue
Block a user