From 6c9619d0944570727ce1f9e8212c4081456fc361 Mon Sep 17 00:00:00 2001 From: uncenter <47499684+uncenter@users.noreply.github.com> Date: Sun, 5 Jan 2025 17:35:09 -0500 Subject: [PATCH] Improve markdown heading highlights (#12417) --- runtime/queries/markdown/highlights.scm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/runtime/queries/markdown/highlights.scm b/runtime/queries/markdown/highlights.scm index 72bb68dc..a80fc1be 100644 --- a/runtime/queries/markdown/highlights.scm +++ b/runtime/queries/markdown/highlights.scm @@ -2,12 +2,12 @@ (setext_heading (paragraph) @markup.heading.1 (setext_h1_underline) @markup.heading.marker) (setext_heading (paragraph) @markup.heading.2 (setext_h2_underline) @markup.heading.marker) -(atx_heading (atx_h1_marker) @markup.heading.marker (inline) @markup.heading.1) -(atx_heading (atx_h2_marker) @markup.heading.marker (inline) @markup.heading.2) -(atx_heading (atx_h3_marker) @markup.heading.marker (inline) @markup.heading.3) -(atx_heading (atx_h4_marker) @markup.heading.marker (inline) @markup.heading.4) -(atx_heading (atx_h5_marker) @markup.heading.marker (inline) @markup.heading.5) -(atx_heading (atx_h6_marker) @markup.heading.marker (inline) @markup.heading.6) +(atx_heading (atx_h1_marker) @markup.heading.marker) @markup.heading.1 +(atx_heading (atx_h2_marker) @markup.heading.marker) @markup.heading.2 +(atx_heading (atx_h3_marker) @markup.heading.marker) @markup.heading.3 +(atx_heading (atx_h4_marker) @markup.heading.marker) @markup.heading.4 +(atx_heading (atx_h5_marker) @markup.heading.marker) @markup.heading.5 +(atx_heading (atx_h6_marker) @markup.heading.marker) @markup.heading.6 [ (indented_code_block)