mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
feat(vim): update parser and queries
* add support for `:substitute` command * add support for `=` lua chunks
This commit is contained in:
parent
3d0e642764
commit
a83f2d1417
2 changed files with 5 additions and 1 deletions
|
|
@ -2501,7 +2501,7 @@ return {
|
||||||
},
|
},
|
||||||
vim = {
|
vim = {
|
||||||
install_info = {
|
install_info = {
|
||||||
revision = '0f31cb98e5c0cb3707e097bf95a04c0c2aac573d',
|
revision = '054c4beaf7b95b52cb20b138bfd8b6fd6ba561a7',
|
||||||
url = 'https://github.com/tree-sitter-grammars/tree-sitter-vim',
|
url = 'https://github.com/tree-sitter-grammars/tree-sitter-vim',
|
||||||
},
|
},
|
||||||
maintainers = { '@clason' },
|
maintainers = { '@clason' },
|
||||||
|
|
|
||||||
|
|
@ -127,6 +127,7 @@
|
||||||
"eval"
|
"eval"
|
||||||
"sign"
|
"sign"
|
||||||
"abort"
|
"abort"
|
||||||
|
"substitute"
|
||||||
] @keyword
|
] @keyword
|
||||||
|
|
||||||
(map_statement
|
(map_statement
|
||||||
|
|
@ -313,6 +314,9 @@
|
||||||
(binary_operation
|
(binary_operation
|
||||||
"." @operator)
|
"." @operator)
|
||||||
|
|
||||||
|
(lua_statement
|
||||||
|
"=" @keyword)
|
||||||
|
|
||||||
; Punctuation
|
; Punctuation
|
||||||
[
|
[
|
||||||
"("
|
"("
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue