Regenerate nvim config
This commit is contained in:
14
config/neovim/store/nvim-treesitter/scripts/write-lockfile.lua
Executable file
14
config/neovim/store/nvim-treesitter/scripts/write-lockfile.lua
Executable file
@ -0,0 +1,14 @@
|
||||
#!/nix/store/php4qidg2bxzmm79vpri025bqi0fa889-coreutils-9.5/bin/env -S -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"
|
||||
Reference in New Issue
Block a user