aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/vimdoc/highlights.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/vimdoc/highlights.scm')
-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