mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
1.8 KiB
1.8 KiB
Roadmap
This document lists the planned and finished changes in this rewrite towards Nvim-treesitter 1.0.
TODO
query_predicates.lua: upstream/removeparsers.lua: add dependencies (and "query-only" langs like ecma, jsx, html_tags, ...)parsers.lua: assign tiersparsers.lua: modularize?install.lua: simplify compilation:- hardcode one compiler + args per platform
- provide
install.compile_commandfor overriding (function that takes files, ...?) - allow using repo makefile (norg!)?
- ...or switch to makefile completely?
locals.lua: move tonvim-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?
- documentation: migration guide
- textobjects: include simple(!) function, queries? (check Helix)
- downstream: adapt to breaking changes (
nvim-treesitter-textobjects,nvim-treesitter-refactor)
DONE
- remove module framework
- remove extra utilities
- refactor
indent.luainto standalone - refactor
locals.luainto standalone - refactor commands, predicates, filetypes registration to plugin/
- support installing tiers of parsers
- install parsers to standard directory by default
- remove bundled queries from runtimepath; copy on parser install
- general refactor and cleanup
- rewrite installation using async module (drop support for sync; use callback instead)
- switch to upstream injection format
- remove locals from highlighting (cf. https://github.com/nvim-treesitter/nvim-treesitter/issues/3944#issuecomment-1458782497)