mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-08 22:40:12 -04:00
feat(install)!: always generate from json if possible
This commit is contained in:
parent
522e0c6991
commit
bdc2e01958
6 changed files with 347 additions and 374 deletions
|
|
@ -18,7 +18,7 @@ error('Cannot require a meta file')
|
|||
---Repo does not contain a `parser.c`; must be generated from grammar first
|
||||
---@field generate? boolean
|
||||
---
|
||||
---Parser needs to be generated from `grammar.json` (generating from `grammar.js` requires npm)
|
||||
---Generate parser from `grammar.json` instead of `grammar.js` (default true)
|
||||
---@field generate_from_json? boolean
|
||||
---
|
||||
---Parser repo is a local directory; overrides `url`, `revision`, and `branch`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue