aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/install-parsers.lua
Commit message (Collapse)AuthorAgeFilesLines
* refactor(lua): fix some luals warningsChristian Clason2025-05-121-1/+1
|
* feat(install): allow pass callback to `update()`przepompownia2025-05-121-6/+15
| | | | | | | Problem: cannot run `:TSUpdate synchronously` Solution: pass callback used after exiting jobs (like in `install-parsers`).
* fix(install): return error code in callbackChristian Clason2025-05-121-4/+7
|
* feat(install): allow specifying max jobsChristian Clason2025-05-121-1/+4
|
* feat(install)!: generate from json instead of requiring nodeChristian Clason2025-05-121-3/+17
| | | | | | | | | | | | 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).
* ci: remove update-lockfile shell scriptChristian Clason2025-05-121-0/+15