mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-15 18:00:07 -04:00
update vimdoc parser and queries
This commit is contained in:
parent
27cba73df9
commit
5f6f866c86
3 changed files with 13 additions and 13 deletions
|
|
@ -144,7 +144,7 @@
|
||||||
"revision": "881f1c805f51485a26ecd7865d15c9ef8d606a78"
|
"revision": "881f1c805f51485a26ecd7865d15c9ef8d606a78"
|
||||||
},
|
},
|
||||||
"help": {
|
"help": {
|
||||||
"revision": "d1900d988c16a40f6882bfe590cecd9fafb7434f"
|
"revision": "55292d96a0c76235c64a2b50aba8c8d9765129df"
|
||||||
},
|
},
|
||||||
"hjson": {
|
"hjson": {
|
||||||
"revision": "02fa3b79b3ff9a296066da6277adfc3f26cbc9e0"
|
"revision": "02fa3b79b3ff9a296066da6277adfc3f26cbc9e0"
|
||||||
|
|
|
||||||
|
|
@ -964,12 +964,11 @@ list.vim = {
|
||||||
|
|
||||||
list.help = {
|
list.help = {
|
||||||
install_info = {
|
install_info = {
|
||||||
url = "https://github.com/vigoux/tree-sitter-vimdoc",
|
url = "https://github.com/neovim/tree-sitter-vimdoc",
|
||||||
files = { "src/parser.c", "src/scanner.c" },
|
files = { "src/parser.c" },
|
||||||
},
|
},
|
||||||
filetype = "help",
|
filetype = "help",
|
||||||
maintainers = { "@vigoux" },
|
maintainers = { "@vigoux" },
|
||||||
experimental = true,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
list.json5 = {
|
list.json5 = {
|
||||||
|
|
|
||||||
|
|
@ -1,15 +1,16 @@
|
||||||
(headline) @text.title
|
(h1) @text.title
|
||||||
|
(h2) @text.title
|
||||||
|
(h3) @text.title
|
||||||
(column_heading) @text.title
|
(column_heading) @text.title
|
||||||
(tag
|
(tag
|
||||||
"*" @conceal (#set! conceal "")
|
"*" @conceal (#set! conceal "")
|
||||||
name: (_) @label)
|
text: (_) @label)
|
||||||
(option
|
(taglink
|
||||||
"'" @conceal (#set! conceal "")
|
|
||||||
name: (_) @text.literal)
|
|
||||||
(hotlink
|
|
||||||
"|" @conceal (#set! conceal "")
|
"|" @conceal (#set! conceal "")
|
||||||
destination: (_) @text.reference)
|
text: (_) @text.reference)
|
||||||
(backtick
|
(optionlink
|
||||||
|
text: (_) @text.literal)
|
||||||
|
(codespan
|
||||||
"`" @conceal (#set! conceal "")
|
"`" @conceal (#set! conceal "")
|
||||||
content: (_) @string)
|
text: (_) @string)
|
||||||
(argument) @parameter
|
(argument) @parameter
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue