mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-06-28 11:24:14 +00:00
normalized dev.extra_paths correctly
This commit is contained in:
parent
af06571d68
commit
6c721d878a
1 changed files with 7 additions and 2 deletions
|
@ -218,10 +218,15 @@ function M.setup(opts)
|
||||||
end
|
end
|
||||||
table.insert(M.options.install.colorscheme, "habamax")
|
table.insert(M.options.install.colorscheme, "habamax")
|
||||||
|
|
||||||
|
-- normalize path options
|
||||||
|
local normalized_extra_dev_paths
|
||||||
|
for k, path in ipairs(M.options.dev.extra_paths) do
|
||||||
|
table.insert(normalized_extra_dev_paths, k, Util.norm(path))
|
||||||
|
end
|
||||||
|
M.options.dev.extra_paths = normalized_extra_dev_paths
|
||||||
|
M.options.performance.rtp.custom_config_dir = Util.norm(M.options.performance.rtp.custom_config_dir)
|
||||||
M.options.root = Util.norm(M.options.root)
|
M.options.root = Util.norm(M.options.root)
|
||||||
M.options.dev.path = Util.norm(M.options.dev.path)
|
M.options.dev.path = Util.norm(M.options.dev.path)
|
||||||
M.options.dev.extra_paths = Util.norm(M.options.dev.extra_paths)
|
|
||||||
M.options.performance.rtp.custom_config_dir = Util.norm(M.options.performance.rtp.custom_config_dir)
|
|
||||||
M.options.lockfile = Util.norm(M.options.lockfile)
|
M.options.lockfile = Util.norm(M.options.lockfile)
|
||||||
M.options.readme.root = Util.norm(M.options.readme.root)
|
M.options.readme.root = Util.norm(M.options.readme.root)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue