feat(install)!: drop support for git

Problem: Using git for installing parsers can lead to data loss if in a
git commit buffer.

Solution: Only support downloading via curl+tar, which are installed on
all supported platforms (since Windows 10). Curl will also be required
for WASM parsers (and for `vim.net.download()`).
This commit is contained in:
Christian Clason 2024-06-13 12:30:57 +02:00
parent 214cfcf851
commit a8677385b7
5 changed files with 301 additions and 295 deletions

View file

@ -5,11 +5,13 @@ This document lists the planned and finished changes in this rewrite towards [Nv
## TODO
- [ ] **`parsers.lua`:** allow specifying version in addition to commit hash (for Tier 1)
- [ ] **tests:** fix, update, extend (cover all Tier 1 languages)
- [ ] **`parsers.lua`:** add WASM support (tier 1)
- [ ] **`parsers.lua`:** update tiers (stable, dev, unmaintained, broken)
- [ ] **tests:** fix, update (remove custom crate, plenary dependency)
- [ ] **documentation:** consolidate, autogenerate?
- [ ] **documentation:** migration guide
- [ ] **`locals.lua`:** move to `nvim-treesitter-refactor`?
- [ ] **textobjects:** include simple(!) function, queries? (check Helix)
- [ ] **indents:** rewrite (Helix compatible)
- [ ] **textobjects:** include simple(!) `node`, `scope` (using `locals`) objects
- [ ] **downstream:** adapt to breaking changes (`nvim-treesitter-refactor`)
## DONE