feat(locals)!: refactor locals.lua into standalone

Co-authored-by: TheLeoP <eugenio2305@hotmail.com>
This commit is contained in:
Christian Clason 2023-05-20 17:29:03 +02:00
parent 692b051b09
commit 5817ff01b5
6 changed files with 419 additions and 529 deletions

View file

@ -13,7 +13,7 @@ This document lists the planned and finished changes in this rewrite towards [Nv
- provide `install.compile_command` for overriding (function that takes files, ...?)
- allow using repo makefile (norg!)?
- ...or switch to makefile completely?
- [ ] **`locals.lua`:** refactor, move to `nvim-treesitter-refactor`
- [ ] **`locals.lua`:** move to `nvim-treesitter-refactor`?
- [ ] **update-lockfile:** allow specifying version in addition to commit hash (for Tier 1)
- [ ] **update-lockfile:** one commit per parser/tier?
- [ ] **documentation:** consolidate, autogenerate?
@ -26,9 +26,11 @@ This document lists the planned and finished changes in this rewrite towards [Nv
- [X] remove module framework
- [X] remove extra utilities
- [X] refactor `indent.lua` into standalone
- [X] refactor `locals.lua` into standalone
- [X] refactor commands, predicates, filetypes registration to plugin/
- [X] support installing tiers of parsers
- [X] install parsers to standard directory by default
- [X] remove bundled queries from runtimepath; copy on parser install
- [X] general refactor and cleanup
- [X] switch to upstream injection format
- [X] remove locals from highlighting (cf. https://github.com/nvim-treesitter/nvim-treesitter/issues/3944#issuecomment-1458782497)