aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/markdown
diff options
context:
space:
mode:
authorChrHorn2022-05-07 02:26:34 +0000
committerGitHub2022-05-07 02:26:34 +0000
commitb38c26809740a827397347fc55300ffd26f46c91 (patch)
treefbb4d699ec435fff5233c4d01efa18df64365d53 /runtime/queries/markdown
parent495ba40eafe84f048e56b3d958a7727751f3aa99 (diff)
fix Markdown list highlighting (#2401)
Diffstat (limited to 'runtime/queries/markdown')
-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)