aboutsummaryrefslogtreecommitdiffstats
path: root/queries/help
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/help
parentindents(wgsl): add indents.scm (diff)
downloadnvim-treesitter-5f6f866c86fdef9fbcdb72a7dbe1d082a664a9c7.tar
nvim-treesitter-5f6f866c86fdef9fbcdb72a7dbe1d082a664a9c7.tar.gz
nvim-treesitter-5f6f866c86fdef9fbcdb72a7dbe1d082a664a9c7.tar.bz2
nvim-treesitter-5f6f866c86fdef9fbcdb72a7dbe1d082a664a9c7.tar.lz
nvim-treesitter-5f6f866c86fdef9fbcdb72a7dbe1d082a664a9c7.tar.xz
nvim-treesitter-5f6f866c86fdef9fbcdb72a7dbe1d082a664a9c7.tar.zst
nvim-treesitter-5f6f866c86fdef9fbcdb72a7dbe1d082a664a9c7.zip
update vimdoc parser and queries
Diffstat (limited to 'queries/help')
-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 500d08b84..6be4e49c8 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