feat!: refactor locals.lua into standalone

This commit is contained in:
Christian Clason 2023-05-20 17:29:03 +02:00
parent 2c8f2f2fad
commit fdafc019bb
6 changed files with 294 additions and 447 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)