aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2022-09-08 14:26:18 -0700
committerJustin M. Keyes <justinkz@gmail.com>2022-09-22 15:36:27 +0200
commitbde6176c9107e32466f28dc96e9a71fd4d7bb644 (patch)
treeab15a1bf4792e4caa7dd5c27add3b9c63c49bfcb /runtime
parent2083c1771ad2de44c8e085062a0777e694b0fd4d (diff)
downloadrneovim-bde6176c9107e32466f28dc96e9a71fd4d7bb644.tar.gz
rneovim-bde6176c9107e32466f28dc96e9a71fd4d7bb644.tar.bz2
rneovim-bde6176c9107e32466f28dc96e9a71fd4d7bb644.zip
feat(treesitter): bundle :help parser and queries
parser from https://github.com/vigoux/tree-sitter-vimdoc queries from nvim-treesitter
Diffstat (limited to 'runtime')
-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