Unnamed repository; edit this file 'description' to name the repository.
fix Markdown list highlighting (#2401)
ChrHorn 2022-05-07
parent 495ba40 · commit b38c268
-rw-r--r--runtime/queries/markdown/highlights.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/queries/markdown/highlights.scm b/runtime/queries/markdown/highlights.scm
index ed22b806..988a56b6 100644
--- a/runtime/queries/markdown/highlights.scm
+++ b/runtime/queries/markdown/highlights.scm
@@ -35,9 +35,12 @@
(list_marker_plus)
(list_marker_minus)
(list_marker_star)
+] @markup.list.numbered
+
+[
(list_marker_dot)
(list_marker_parenthesis)
-] @punctuation.special
+] @markup.list.unnumbered
[
(backslash_escape)