update vimdoc parser and queries

This commit is contained in:
Christian Clason
2022-09-28 14:49:51 +02:00
committed by Christian Clason
parent 27cba73df9
commit 5f6f866c86
3 changed files with 13 additions and 13 deletions

View File

@@ -144,7 +144,7 @@
"revision": "881f1c805f51485a26ecd7865d15c9ef8d606a78"
},
"help": {
"revision": "d1900d988c16a40f6882bfe590cecd9fafb7434f"
"revision": "55292d96a0c76235c64a2b50aba8c8d9765129df"
},
"hjson": {
"revision": "02fa3b79b3ff9a296066da6277adfc3f26cbc9e0"

View File

@@ -964,12 +964,11 @@ list.vim = {
list.help = {
install_info = {
url = "https://github.com/vigoux/tree-sitter-vimdoc",
files = { "src/parser.c", "src/scanner.c" },
url = "https://github.com/neovim/tree-sitter-vimdoc",
files = { "src/parser.c" },
},
filetype = "help",
maintainers = { "@vigoux" },
experimental = true,
}
list.json5 = {

View File

@@ -1,15 +1,16 @@
(headline) @text.title
(h1) @text.title
(h2) @text.title
(h3) @text.title
(column_heading) @text.title
(tag
"*" @conceal (#set! conceal "")
name: (_) @label)
(option
"'" @conceal (#set! conceal "")
name: (_) @text.literal)
(hotlink
text: (_) @label)
(taglink
"|" @conceal (#set! conceal "")
destination: (_) @text.reference)
(backtick
text: (_) @text.reference)
(optionlink
text: (_) @text.literal)
(codespan
"`" @conceal (#set! conceal "")
content: (_) @string)
text: (_) @string)
(argument) @parameter