mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
fix(install): do not generate bindings when generating parser
These are irrelevant for us and may lead to conflicts with committed outdated bindings (e.g., wing).
This commit is contained in:
parent
78bfee7ddb
commit
9a39ec072a
1 changed files with 2 additions and 2 deletions
|
|
@ -360,9 +360,9 @@ local function run_install(cache_folder, install_folder, lang, repo, with_sync,
|
|||
if not M.ts_generate_args then
|
||||
local ts_cli_version = utils.ts_cli_version()
|
||||
if ts_cli_version and vim.split(ts_cli_version, " ")[1] > "0.20.2" then
|
||||
M.ts_generate_args = { "generate", "--abi", vim.treesitter.language_version }
|
||||
M.ts_generate_args = { "generate", "--no-bindings", "--abi", vim.treesitter.language_version }
|
||||
else
|
||||
M.ts_generate_args = { "generate" }
|
||||
M.ts_generate_args = { "generate", "--no-bindings" }
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue