aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2024-06-10 05:22:27 -0700
committerGitHub <noreply@github.com>2024-06-10 05:22:27 -0700
commitd9af8c2431b7c6395abece8104be6a47d6f61f39 (patch)
treef61311f8a7f2bc075cbc87497c6483c8fbaa0b8c /runtime/queries
parent4bd86120d41e3b01433004bf761beccb7f3a0167 (diff)
parenta156038d7015e8349ca8886d52eee189941fc0cf (diff)
downloadrneovim-d9af8c2431b7c6395abece8104be6a47d6f61f39.tar.gz
rneovim-d9af8c2431b7c6395abece8104be6a47d6f61f39.tar.bz2
rneovim-d9af8c2431b7c6395abece8104be6a47d6f61f39.zip
Merge #29238 from clason/feat/help-toc
Diffstat (limited to 'runtime/queries')
-rw-r--r--runtime/queries/vimdoc/highlights.scm16
1 files changed, 11 insertions, 5 deletions
diff --git a/runtime/queries/vimdoc/highlights.scm b/runtime/queries/vimdoc/highlights.scm
index 70a3a2f206..194c80362c 100644
--- a/runtime/queries/vimdoc/highlights.scm
+++ b/runtime/queries/vimdoc/highlights.scm
@@ -1,13 +1,19 @@
-(h1) @markup.heading.1
+(h1
+ (delimiter) @markup.heading.1
+ (heading) @markup.heading.1)
-(h2) @markup.heading.2
+(h2
+ (delimiter) @markup.heading.2
+ (heading) @markup.heading.2)
-(h3) @markup.heading.3
+(h3
+ (heading) @markup.heading.3)
-(column_heading) @markup.heading.4
+(column_heading
+ (heading) @markup.heading.4)
(column_heading
- "~" @markup.heading.4
+ (delimiter) @markup.heading.4
(#set! conceal ""))
(tag