mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-04 04:20:09 -04:00
Add lockfile and make lockfile default install revision
This commit is contained in:
parent
98c12ec23a
commit
0a51d492a5
5 changed files with 145 additions and 48 deletions
|
|
@ -20,7 +20,8 @@ end
|
|||
|
||||
local config = {
|
||||
modules = {},
|
||||
ensure_installed = {}
|
||||
ensure_installed = {},
|
||||
update_strategy = 'lockfile',
|
||||
}
|
||||
-- List of modules that need to be setup on initialization.
|
||||
local queued_modules_defs = {}
|
||||
|
|
@ -415,4 +416,8 @@ function M.init()
|
|||
end
|
||||
end
|
||||
|
||||
function M.get_update_strategy()
|
||||
return config.update_strategy
|
||||
end
|
||||
|
||||
return M
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue