mirror of
https://github.com/nvim-treesitter/nvim-treesitter
synced 2024-09-16 14:34:05 +02:00
14 lines
360 B
Lua
Executable file
14 lines
360 B
Lua
Executable file
#!/usr/bin/env -S nvim -l
|
|
|
|
---@type string|any[]
|
|
local skip_langs = vim.fn.getenv "SKIP_LOCKFILE_UPDATE_FOR_LANGS"
|
|
|
|
if skip_langs == vim.NIL then
|
|
skip_langs = {}
|
|
else
|
|
---@diagnostic disable-next-line: param-type-mismatch
|
|
skip_langs = vim.fn.split(skip_langs, ",")
|
|
end
|
|
|
|
require("nvim-treesitter.install").write_lockfile("verbose", skip_langs)
|
|
vim.cmd "q"
|