summaryrefslogtreecommitdiff
path: root/queries
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2022-09-28 14:49:51 +0200
committerChristian Clason <christian.clason@uni-due.de>2022-09-29 08:41:42 +0200
commit5f6f866c86fdef9fbcdb72a7dbe1d082a664a9c7 (patch)
treecd05de7ab6bdf5158badb785b98dcd0abdfcfc99 /queries
parent27cba73df9ddca00c066c7ebb514576a99bb8b2c (diff)
update vimdoc parser and queries
Diffstat (limited to 'queries')
-rw-r--r--queries/help/highlights.scm19
1 files changed, 10 insertions, 9 deletions
diff --git a/queries/help/highlights.scm b/queries/help/highlights.scm
index 500d08b8..6be4e49c 100644
--- a/queries/help/highlights.scm
+++ b/queries/help/highlights.scm
@@ -1,15 +1,16 @@
-(headline) @text.title
+(h1) @text.title
+(h2) @text.title
+(h3) @text.title
(column_heading) @text.title
(tag
"*" @conceal (#set! conceal "")
- name: (_) @label)
-(option
- "'" @conceal (#set! conceal "")
- name: (_) @text.literal)
-(hotlink
+ text: (_) @label)
+(taglink
"|" @conceal (#set! conceal "")
- destination: (_) @text.reference)
-(backtick
+ text: (_) @text.reference)
+(optionlink
+ text: (_) @text.literal)
+(codespan
"`" @conceal (#set! conceal "")
- content: (_) @string)
+ text: (_) @string)
(argument) @parameter