Commit graph

6 commits

Author SHA1 Message Date
Christian Clason
1d0fd0bd03 refactor(lua): fix some luals warnings 2025-05-06 10:34:45 +02:00
przepompownia
282aa43e6e feat(install): allow pass callback to update()
Problem: cannot run `:TSUpdate synchronously`

Solution: pass callback used after exiting jobs
(like in `install-parsers`).
2025-05-06 10:34:45 +02:00
Christian Clason
ca296d4df1 fix(install): return error code in callback 2025-05-06 10:34:45 +02:00
Christian Clason
437a3609d2 feat(install): allow specifying max jobs 2025-05-06 10:34:44 +02:00
Christian Clason
62cfd26e78 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-05-06 10:34:44 +02:00
Christian Clason
c97342bf76 ci: remove update-lockfile shell script 2025-05-06 10:34:44 +02:00