aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/help
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/help')
-rw-r--r--runtime/queries/help/highlights.scm16
1 files changed, 16 insertions, 0 deletions
diff --git a/runtime/queries/help/highlights.scm b/runtime/queries/help/highlights.scm
new file mode 100644
index 0000000000..6be4e49c81
--- /dev/null
+++ b/runtime/queries/help/highlights.scm
@@ -0,0 +1,16 @@
+(h1) @text.title
+(h2) @text.title
+(h3) @text.title
+(column_heading) @text.title
+(tag
+ "*" @conceal (#set! conceal "")
+ text: (_) @label)
+(taglink
+ "|" @conceal (#set! conceal "")
+ text: (_) @text.reference)
+(optionlink
+ text: (_) @text.literal)
+(codespan
+ "`" @conceal (#set! conceal "")
+ text: (_) @string)
+(argument) @parameter