mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
feat(treesitter): update Vimdoc parser and queries to v2.4.0
This commit is contained in:
parent
20dcbaaaf8
commit
987dff6713
@ -47,8 +47,8 @@ TREESITTER_LUA_URL https://github.com/tree-sitter-grammars/tree-sitter-lua/archi
|
|||||||
TREESITTER_LUA_SHA256 230cfcbfa74ed1f7b8149e9a1f34c2efc4c589a71fe0f5dc8560622f8020d722
|
TREESITTER_LUA_SHA256 230cfcbfa74ed1f7b8149e9a1f34c2efc4c589a71fe0f5dc8560622f8020d722
|
||||||
TREESITTER_VIM_URL https://github.com/neovim/tree-sitter-vim/archive/v0.4.0.tar.gz
|
TREESITTER_VIM_URL https://github.com/neovim/tree-sitter-vim/archive/v0.4.0.tar.gz
|
||||||
TREESITTER_VIM_SHA256 9f856f8b4a10ab43348550fa2d3cb2846ae3d8e60f45887200549c051c66f9d5
|
TREESITTER_VIM_SHA256 9f856f8b4a10ab43348550fa2d3cb2846ae3d8e60f45887200549c051c66f9d5
|
||||||
TREESITTER_VIMDOC_URL https://github.com/neovim/tree-sitter-vimdoc/archive/v2.2.0.tar.gz
|
TREESITTER_VIMDOC_URL https://github.com/neovim/tree-sitter-vimdoc/archive/v2.5.0.tar.gz
|
||||||
TREESITTER_VIMDOC_SHA256 2cd898245d28bb606b05c022f04077031381d998faa3c6825c5ca01b7c89e2ae
|
TREESITTER_VIMDOC_SHA256 bb296ab877bc09b31d6fd3705165e23378e419dc391ca5c8d1b74d18b5335edc
|
||||||
TREESITTER_QUERY_URL https://github.com/tree-sitter-grammars/tree-sitter-query/archive/v0.1.0.tar.gz
|
TREESITTER_QUERY_URL https://github.com/tree-sitter-grammars/tree-sitter-query/archive/v0.1.0.tar.gz
|
||||||
TREESITTER_QUERY_SHA256 e2b806f80e8bf1c4f4e5a96248393fe6622fc1fc6189d6896d269658f67f914c
|
TREESITTER_QUERY_SHA256 e2b806f80e8bf1c4f4e5a96248393fe6622fc1fc6189d6896d269658f67f914c
|
||||||
TREESITTER_PYTHON_URL https://github.com/tree-sitter/tree-sitter-python/archive/v0.20.4.tar.gz
|
TREESITTER_PYTHON_URL https://github.com/tree-sitter/tree-sitter-python/archive/v0.20.4.tar.gz
|
||||||
|
@ -7,48 +7,46 @@
|
|||||||
(column_heading) @markup.heading.4
|
(column_heading) @markup.heading.4
|
||||||
|
|
||||||
(column_heading
|
(column_heading
|
||||||
"~" @markup.heading.4.marker
|
"~" @markup.heading.4
|
||||||
(#set! conceal ""))
|
(#set! conceal ""))
|
||||||
|
|
||||||
(tag
|
(tag
|
||||||
"*" @markup.heading.5.marker
|
"*" @label
|
||||||
.
|
(#set! conceal ""))
|
||||||
text: (_) @label
|
|
||||||
.
|
(tag
|
||||||
"*" @markup.heading.5.marker
|
text: (_) @label)
|
||||||
(#set! @markup.heading.5.marker conceal ""))
|
|
||||||
|
|
||||||
(taglink
|
(taglink
|
||||||
"|" @markup.link.delimiter
|
"|" @markup.link
|
||||||
.
|
(#set! conceal ""))
|
||||||
text: (_) @markup.link
|
|
||||||
.
|
(taglink
|
||||||
"|" @markup.link.delimiter
|
text: (_) @markup.link)
|
||||||
(#set! @markup.link.delimiter conceal ""))
|
|
||||||
|
|
||||||
(optionlink
|
(optionlink
|
||||||
text: (_) @markup.link)
|
text: (_) @markup.link)
|
||||||
|
|
||||||
(codespan
|
(codespan
|
||||||
"`" @markup.raw.delimiter
|
"`" @markup.raw
|
||||||
.
|
(#set! conceal ""))
|
||||||
text: (_) @markup.raw
|
|
||||||
.
|
(codespan
|
||||||
"`" @markup.raw.delimiter
|
text: (_) @markup.raw)
|
||||||
(#set! @markup.raw.delimiter conceal ""))
|
|
||||||
|
|
||||||
((codeblock) @markup.raw.block
|
((codeblock) @markup.raw.block
|
||||||
(#set! "priority" 90))
|
(#set! "priority" 90))
|
||||||
|
|
||||||
(codeblock
|
(codeblock
|
||||||
[
|
">" @markup.raw
|
||||||
">"
|
(#set! conceal ""))
|
||||||
(language)
|
|
||||||
] @markup.raw.delimiter
|
(codeblock
|
||||||
|
(language) @label
|
||||||
(#set! conceal ""))
|
(#set! conceal ""))
|
||||||
|
|
||||||
(block
|
(block
|
||||||
"<" @markup.raw.delimiter
|
"<" @markup.raw
|
||||||
(#set! conceal ""))
|
(#set! conceal ""))
|
||||||
|
|
||||||
(argument) @variable.parameter
|
(argument) @variable.parameter
|
||||||
@ -57,6 +55,8 @@
|
|||||||
|
|
||||||
(url) @string.special.url
|
(url) @string.special.url
|
||||||
|
|
||||||
|
(modeline) @keyword.directive
|
||||||
|
|
||||||
((note) @comment.note
|
((note) @comment.note
|
||||||
(#any-of? @comment.note "Note:" "NOTE:" "Notes:"))
|
(#any-of? @comment.note "Note:" "NOTE:" "Notes:"))
|
||||||
|
|
||||||
|
@ -863,7 +863,7 @@ describe('treesitter highlighting (help)', function()
|
|||||||
|
|
||||||
screen:expect {
|
screen:expect {
|
||||||
grid = [[
|
grid = [[
|
||||||
{1:>ruby} |
|
{1:>}{3:ruby} |
|
||||||
{1: -- comment} |
|
{1: -- comment} |
|
||||||
{1: local this_is = 'actually_lua'} |
|
{1: local this_is = 'actually_lua'} |
|
||||||
{1:<} |
|
{1:<} |
|
||||||
@ -876,7 +876,7 @@ describe('treesitter highlighting (help)', function()
|
|||||||
|
|
||||||
screen:expect {
|
screen:expect {
|
||||||
grid = [[
|
grid = [[
|
||||||
{1:>lua} |
|
{1:>}{3:lua} |
|
||||||
{1: -- comment} |
|
{1: -- comment} |
|
||||||
{1: }{3:local}{1: }{4:this_is}{1: }{3:=}{1: }{5:'actually_lua'} |
|
{1: }{3:local}{1: }{4:this_is}{1: }{3:=}{1: }{5:'actually_lua'} |
|
||||||
{1:<} |
|
{1:<} |
|
||||||
@ -889,7 +889,7 @@ describe('treesitter highlighting (help)', function()
|
|||||||
|
|
||||||
screen:expect {
|
screen:expect {
|
||||||
grid = [[
|
grid = [[
|
||||||
{1:>ruby} |
|
{1:>}{3:ruby} |
|
||||||
{1: -- comment} |
|
{1: -- comment} |
|
||||||
{1: local this_is = 'actually_lua'} |
|
{1: local this_is = 'actually_lua'} |
|
||||||
{1:<} |
|
{1:<} |
|
||||||
|
Loading…
Reference in New Issue
Block a user