summaryrefslogtreecommitdiff
path: root/queries
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2022-03-26 14:42:45 +0100
committerChristian Clason <christian.clason@uni-due.de>2022-03-29 18:25:23 +0200
commit7e9c46b67816396b6276692a6446e8f2dcf28f5b (patch)
treef93e9c661af4e8f536784d708dd032eade3ef7d9 /queries
parent82584359b764361b9a834dfd7d768bd68b81009f (diff)
feat: add vimdoc parser and highlight queries
Diffstat (limited to 'queries')
-rw-r--r--queries/help/highlights.scm14
1 files changed, 14 insertions, 0 deletions
diff --git a/queries/help/highlights.scm b/queries/help/highlights.scm
new file mode 100644
index 00000000..e2fb6553
--- /dev/null
+++ b/queries/help/highlights.scm
@@ -0,0 +1,14 @@
+(headline) @text.title
+(column_heading) @text.title
+(tag
+ "*" @conceal (#set! conceal "")
+ name: (_) @label)
+(option
+ "'" @conceal (#set! conceal "")
+ name: (_) @text.literal)
+(hotlink
+ "|" @conceal (#set! conceal "")
+ destination: (_) @text.uri)
+(backtick
+ "`" @conceal (#set! conceal "")
+ content: (_) @string)