mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-18 20:36:45 +00:00
fix: prepend package path to packpath if package.reset=false
This commit is contained in:
parent
041a716f4e
commit
5eb2622a4e
1 changed files with 2 additions and 0 deletions
|
@ -75,6 +75,8 @@ function M.setup(spec, opts)
|
|||
|
||||
if M.options.package.reset then
|
||||
vim.go.packpath = M.options.package.path
|
||||
else
|
||||
vim.opt.packpath:prepend(M.options.package.path)
|
||||
end
|
||||
|
||||
vim.api.nvim_create_autocmd("User", {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue