aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/markdown
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2024-11-19 22:57:13 +0000
committerJosh Rahm <joshuarahm@gmail.com>2024-11-19 22:57:13 +0000
commit9be89f131f87608f224f0ee06d199fcd09d32176 (patch)
tree11022dcfa9e08cb4ac5581b16734196128688d48 /runtime/queries/markdown
parentff7ed8f586589d620a806c3758fac4a47a8e7e15 (diff)
parent88085c2e80a7e3ac29aabb6b5420377eed99b8b6 (diff)
downloadrneovim-9be89f131f87608f224f0ee06d199fcd09d32176.tar.gz
rneovim-9be89f131f87608f224f0ee06d199fcd09d32176.tar.bz2
rneovim-9be89f131f87608f224f0ee06d199fcd09d32176.zip
Merge remote-tracking branch 'upstream/master' into mix_20240309
Diffstat (limited to 'runtime/queries/markdown')
-rw-r--r--runtime/queries/markdown/highlights.scm24
1 files changed, 9 insertions, 15 deletions
diff --git a/runtime/queries/markdown/highlights.scm b/runtime/queries/markdown/highlights.scm
index 4b445e02f3..a12669ca2b 100644
--- a/runtime/queries/markdown/highlights.scm
+++ b/runtime/queries/markdown/highlights.scm
@@ -8,28 +8,22 @@
(setext_h2_underline) @markup.heading.2)
(atx_heading
- (atx_h1_marker) @markup.heading.1
- (inline) @markup.heading.1)
+ (atx_h1_marker)) @markup.heading.1
(atx_heading
- (atx_h2_marker) @markup.heading.2
- (inline) @markup.heading.2)
+ (atx_h2_marker)) @markup.heading.2
(atx_heading
- (atx_h3_marker) @markup.heading.3
- (inline) @markup.heading.3)
+ (atx_h3_marker)) @markup.heading.3
(atx_heading
- (atx_h4_marker) @markup.heading.4
- (inline) @markup.heading.4)
+ (atx_h4_marker)) @markup.heading.4
(atx_heading
- (atx_h5_marker) @markup.heading.5
- (inline) @markup.heading.5)
+ (atx_h5_marker)) @markup.heading.5
(atx_heading
- (atx_h6_marker) @markup.heading.6
- (inline) @markup.heading.6)
+ (atx_h6_marker)) @markup.heading.6
(info_string) @label
@@ -51,7 +45,7 @@
(indented_code_block) @markup.raw.block
((fenced_code_block) @markup.raw.block
- (#set! "priority" 90))
+ (#set! priority 90))
(fenced_code_block
(fenced_code_block_delimiter) @markup.raw.block
@@ -109,13 +103,13 @@
(task_list_marker_checked) @markup.list.checked
((block_quote) @markup.quote
- (#set! "priority" 90))
+ (#set! priority 90))
([
(plus_metadata)
(minus_metadata)
] @keyword.directive
- (#set! "priority" 90))
+ (#set! priority 90))
[
(block_continuation)