aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2023-04-07 15:03:10 +0200
committerGitHub <noreply@github.com>2023-04-07 15:03:10 +0200
commit584ccea56e2d37b31ba292da2b539e1a4bb411ca (patch)
tree01e40c7b00a9bce2c137a73784a9c58cef67b540
parentUpdate parsers: sql (#4615) (diff)
downloadnvim-treesitter-584ccea56e2d37b31ba292da2b539e1a4bb411ca.tar
nvim-treesitter-584ccea56e2d37b31ba292da2b539e1a4bb411ca.tar.gz
nvim-treesitter-584ccea56e2d37b31ba292da2b539e1a4bb411ca.tar.bz2
nvim-treesitter-584ccea56e2d37b31ba292da2b539e1a4bb411ca.tar.lz
nvim-treesitter-584ccea56e2d37b31ba292da2b539e1a4bb411ca.tar.xz
nvim-treesitter-584ccea56e2d37b31ba292da2b539e1a4bb411ca.tar.zst
nvim-treesitter-584ccea56e2d37b31ba292da2b539e1a4bb411ca.zip
vim: switch to parser maintained by Neovim (#4610)
Problem: The current vimscript parser has not been maintained for a while, which was a blocker for packaging the coming Neovim release. Solution: Fork parser to https://github.com/neovim/tree-sitter-vim/ and maintain it there from now on.
-rw-r--r--README.md2
-rw-r--r--lockfile.json2
-rw-r--r--lua/nvim-treesitter/parsers.lua4
3 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index 22b723059..b6fb87949 100644
--- a/README.md
+++ b/README.md
@@ -346,7 +346,7 @@ We are looking for maintainers to add more parsers and to write query files for
- [x] [vala](https://github.com/vala-lang/tree-sitter-vala) (maintained by @Prince781)
- [x] [verilog](https://github.com/tree-sitter/tree-sitter-verilog) (maintained by @zegervdv)
- [x] [vhs](https://github.com/charmbracelet/tree-sitter-vhs) (maintained by @caarlos0)
-- [x] [vim](https://github.com/vigoux/tree-sitter-viml) (maintained by @vigoux)
+- [x] [vim](https://github.com/neovim/tree-sitter-vim) (maintained by @clason)
- [x] [vimdoc](https://github.com/neovim/tree-sitter-vimdoc) (maintained by @clason)
- [x] [vue](https://github.com/ikatyang/tree-sitter-vue) (maintained by @WhyNotHugo)
- [x] [wgsl](https://github.com/szebniok/tree-sitter-wgsl) (maintained by @szebniok)
diff --git a/lockfile.json b/lockfile.json
index 705e10c39..633119c91 100644
--- a/lockfile.json
+++ b/lockfile.json
@@ -519,7 +519,7 @@
"revision": "77fd8a8fcc0b4788e0b1569b1a4fa070b36add28"
},
"vim": {
- "revision": "e39a7bbcfdcfc7900629962b785c7e14503ae590"
+ "revision": "2886b52143d570d81f97c98be7a1e204ce9d3bcd"
},
"vimdoc": {
"revision": "15c2fdcc57f51f1caef82fe75e1ffb733626dcae"
diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua
index 753ad51e5..9e7c52091 100644
--- a/lua/nvim-treesitter/parsers.lua
+++ b/lua/nvim-treesitter/parsers.lua
@@ -1536,10 +1536,10 @@ list.vhs = {
list.vim = {
install_info = {
- url = "https://github.com/vigoux/tree-sitter-viml",
+ url = "https://github.com/neovim/tree-sitter-vim",
files = { "src/parser.c", "src/scanner.c" },
},
- maintainers = { "@vigoux" },
+ maintainers = { "@clason" },
}
list.vimdoc = {