mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-10 07:20:06 -04:00
refactor: rewrite installation using jobs and async
Replace sync variants with callback support
This commit is contained in:
parent
52976802a5
commit
73ddd80069
15 changed files with 962 additions and 708 deletions
2
TODO.md
2
TODO.md
|
|
@ -7,7 +7,6 @@ This document lists the planned and finished changes in this rewrite towards [Nv
|
|||
- [ ] **`query_predicates.lua`:** upstream/remove
|
||||
- [ ] **`parsers.lua`:** modularize?
|
||||
- [ ] **`parsers.lua`:** assign tiers
|
||||
- [ ] **`install.lua`:** fix messages, add sync support (@lewis6991)
|
||||
- [ ] **`install.lua`:** simplify compilation:
|
||||
- hardcode one compiler + args per platform
|
||||
- provide `install.compile_command` for overriding (function that takes files, ...?)
|
||||
|
|
@ -32,5 +31,6 @@ This document lists the planned and finished changes in this rewrite towards [Nv
|
|||
- [X] install parsers to standard directory by default
|
||||
- [X] remove bundled queries from runtimepath; copy on parser install
|
||||
- [X] general refactor and cleanup
|
||||
- [X] rewrite installation using async module (drop support for sync; use callback instead)
|
||||
- [X] switch to upstream injection format
|
||||
- [X] remove locals from highlighting (cf. https://github.com/nvim-treesitter/nvim-treesitter/issues/3944#issuecomment-1458782497)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue