feat: set `vim.env.LAZY` to lazy root

This commit is contained in:
Folke Lemaitre 2024-06-01 18:20:39 +02:00
parent eab487c252
commit 6a141a6dbb
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
1 changed files with 1 additions and 0 deletions

View File

@ -221,6 +221,7 @@ function M.setup(opts)
table.insert(M.options.install.colorscheme, "habamax") table.insert(M.options.install.colorscheme, "habamax")
M.options.root = Util.norm(M.options.root) M.options.root = Util.norm(M.options.root)
vim.env.LAZY = M.options.root
if type(M.options.dev.path) == "string" then if type(M.options.dev.path) == "string" then
M.options.dev.path = Util.norm(M.options.dev.path) M.options.dev.path = Util.norm(M.options.dev.path)
end end