aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/help/highlights.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/help/highlights.scm')
-rw-r--r--runtime/queries/help/highlights.scm13
1 files changed, 11 insertions, 2 deletions
diff --git a/runtime/queries/help/highlights.scm b/runtime/queries/help/highlights.scm
index 6be4e49c81..c0d88301bc 100644
--- a/runtime/queries/help/highlights.scm
+++ b/runtime/queries/help/highlights.scm
@@ -2,6 +2,8 @@
(h2) @text.title
(h3) @text.title
(column_heading) @text.title
+(column_heading
+ "~" @conceal (#set! conceal ""))
(tag
"*" @conceal (#set! conceal "")
text: (_) @label)
@@ -9,8 +11,15 @@
"|" @conceal (#set! conceal "")
text: (_) @text.reference)
(optionlink
- text: (_) @text.literal)
+ text: (_) @text.reference)
(codespan
"`" @conceal (#set! conceal "")
- text: (_) @string)
+ text: (_) @text.literal)
+(codeblock) @text.literal
+(codeblock
+ [">" (language)] @conceal (#set! conceal ""))
+(block
+ "<" @conceal (#set! conceal ""))
(argument) @parameter
+(keycode) @string.special
+(url) @text.uri