nvim-treesitter/lua/nvim-treesitter
Christian Clason 0db2935a1f feat(install)!: generate from json instead of requiring node
Problem: Many parsers require node/npm to evaluate the `grammar.js`
before being able to generate a parser from it.

Solution: Generate from `grammar.json` instead, which is fully resolved.
Drops `node` and `npm` as (optional) requirements for nvim-treesitter.

Note that this requires parsers to commit the generated json iff the
grammar requires evaluation (which is currently the case for all tracked
languages).
2025-04-30 11:48:30 +02:00
..
async.lua refactor: use vim.system (#4923) 2025-04-30 11:48:30 +02:00
config.lua fix: do not use vim.iter (#6469) 2025-04-30 11:48:30 +02:00
health.lua feat(install)!: generate from json instead of requiring node 2025-04-30 11:48:30 +02:00
indent.lua feat!: drop modules, general refactor and cleanup 2025-04-30 11:48:30 +02:00
init.lua feat!: drop modules, general refactor and cleanup 2025-04-30 11:48:30 +02:00
install.lua feat(install)!: generate from json instead of requiring node 2025-04-30 11:48:30 +02:00
locals.lua feat(locals)!: refactor locals.lua into standalone 2025-04-30 11:48:30 +02:00
log.lua feat: improve logging of failed installs 2025-04-30 11:48:30 +02:00
parsers.lua feat(install)!: generate from json instead of requiring node 2025-04-30 11:48:30 +02:00
util.lua refactor: use vim.uv 2025-04-30 11:48:30 +02:00