aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/help/highlights.scm
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2022-09-22 10:03:38 -0400
committerGitHub <noreply@github.com>2022-09-22 10:03:38 -0400
commita867aa45f70e48cfad9f56657f8d2ec3c8fed153 (patch)
treef9642f932f407d72df963ba998b645526f6eb1f5 /runtime/queries/help/highlights.scm
parent11f91ac304e7f4d96b8c5f7e056bf941da32466b (diff)
parent09b64d75bd92a95d89c4f39f9df7918760abe98d (diff)
downloadrneovim-a867aa45f70e48cfad9f56657f8d2ec3c8fed153.tar.gz
rneovim-a867aa45f70e48cfad9f56657f8d2ec3c8fed153.tar.bz2
rneovim-a867aa45f70e48cfad9f56657f8d2ec3c8fed153.zip
Merge #11967 generate :help HTML with treesitter
Diffstat (limited to 'runtime/queries/help/highlights.scm')
-rw-r--r--runtime/queries/help/highlights.scm14
1 files changed, 14 insertions, 0 deletions
diff --git a/runtime/queries/help/highlights.scm b/runtime/queries/help/highlights.scm
new file mode 100644
index 0000000000..41c78a7f1c
--- /dev/null
+++ b/runtime/queries/help/highlights.scm
@@ -0,0 +1,14 @@
+(headline) @text.title
+(column_heading) @text.title
+(tag
+ "*" @conceal (#set! conceal "")
+ name: (_) @label)
+(option
+ name: (_) @text.literal)
+(hotlink
+ "|" @conceal (#set! conceal "")
+ destination: (_) @text.reference)
+(backtick
+ "`" @conceal (#set! conceal "")
+ content: (_) @string)
+(argument) @parameter