mirror of https://github.com/folke/lazy.nvim.git
feat: set `vim.env.LAZY` to lazy root
This commit is contained in:
parent
eab487c252
commit
6a141a6dbb
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue