mirror of
https://github.com/neovim/neovim.git
synced 2026-08-29 18:41:48 +00:00
feat(pack): 'packlockfile' option #40562
Problem: No way to configure the lockfile location. Solution: Add 'packlockfile' option.
This commit is contained in:
committed by
GitHub
parent
ef130902cf
commit
0653e7a338
@@ -6418,6 +6418,22 @@ local options = {
|
||||
type = 'string',
|
||||
varname = 'p_opfunc',
|
||||
},
|
||||
{
|
||||
abbreviation = 'plf',
|
||||
defaults = '$XDG_CONFIG_HOME/nvim/nvim-pack-lock.json',
|
||||
deny_duplicates = true,
|
||||
desc = [=[
|
||||
Path of |vim.pack-lockfile|. Must be set before the first usage of any
|
||||
|vim.pack| function. Environment variables are expanded |:set_env|.
|
||||
]=],
|
||||
expand = true,
|
||||
full_name = 'packlockfile',
|
||||
scope = { 'global' },
|
||||
secure = true,
|
||||
short_desc = N_('path of vim.pack lockfile'),
|
||||
type = 'string',
|
||||
varname = 'p_plf',
|
||||
},
|
||||
{
|
||||
abbreviation = 'pp',
|
||||
cb = 'did_set_runtimepackpath',
|
||||
|
||||
Reference in New Issue
Block a user