From 59f15c8333eb86b28328c3790a5236d94484b25f Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Wed, 24 Jan 2024 16:03:05 -0600 Subject: [PATCH] feat(nvim): add improved markdown conceals --- .../nvim/after/queries/markdown/highlights.scm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 dots/.config/nvim/after/queries/markdown/highlights.scm diff --git a/dots/.config/nvim/after/queries/markdown/highlights.scm b/dots/.config/nvim/after/queries/markdown/highlights.scm new file mode 100644 index 00000000..613bfe13 --- /dev/null +++ b/dots/.config/nvim/after/queries/markdown/highlights.scm @@ -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 "󰄲"))