Commit graph

6 commits

Author SHA1 Message Date
Christian Clason
9df9b89354 refactor(lua): fix some luals warnings 2025-05-01 17:30:57 +02:00
przepompownia
d402cb9818 feat(install): allow pass callback to update()
Problem: cannot run `:TSUpdate synchronously`

Solution: pass callback used after exiting jobs
(like in `install-parsers`).
2025-04-30 11:48:30 +02:00
Christian Clason
0767b79904 fix(install): return error code in callback 2025-04-30 11:48:30 +02:00
Christian Clason
9941ad2afb feat(install): allow specifying max jobs 2025-04-30 11:48:30 +02:00
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
Christian Clason
e1069893cb ci: remove update-lockfile shell script 2025-04-30 11:48:30 +02:00