aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2022-10-24 09:10:50 +0200
committerChristian Clason <christian.clason@uni-due.de>2022-11-01 13:41:33 +0100
commit5f85a0a2b5c8e385c1232333e50c55ebdd0e0791 (patch)
treec8408617b75b12e6e03064ac90d46c28212fed46
parenttest: remove bundled parsers in CI (diff)
downloadnvim-treesitter-5f85a0a2b5c8e385c1232333e50c55ebdd0e0791.tar
nvim-treesitter-5f85a0a2b5c8e385c1232333e50c55ebdd0e0791.tar.gz
nvim-treesitter-5f85a0a2b5c8e385c1232333e50c55ebdd0e0791.tar.bz2
nvim-treesitter-5f85a0a2b5c8e385c1232333e50c55ebdd0e0791.tar.lz
nvim-treesitter-5f85a0a2b5c8e385c1232333e50c55ebdd0e0791.tar.xz
nvim-treesitter-5f85a0a2b5c8e385c1232333e50c55ebdd0e0791.tar.zst
nvim-treesitter-5f85a0a2b5c8e385c1232333e50c55ebdd0e0791.zip
help: update queries
-rw-r--r--queries/help/highlights.scm13
1 files changed, 11 insertions, 2 deletions
diff --git a/queries/help/highlights.scm b/queries/help/highlights.scm
index 6be4e49c8..b2ed39033 100644
--- a/queries/help/highlights.scm
+++ b/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
+ ">" @conceal (#set! conceal ""))
+(block
+ "<" @conceal (#set! conceal ""))
(argument) @parameter
+(keycode) @string.special
+(url) @text.uri