mirror of https://github.com/folke/lazy.nvim.git
Compare commits
No commits in common. "460e1cd8f24e364d54543a4b0e83f6f4ec1f65fb" and "48b52b5cfcf8f88ed0aff8fde573a5cc20b1306d" have entirely different histories.
460e1cd8f2
...
48b52b5cfc
|
@ -1,4 +1,4 @@
|
|||
-- Lazy Bootstrapper
|
||||
-- Lay Bootstrapper
|
||||
-- Usage:
|
||||
-- ```lua
|
||||
-- load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()
|
||||
|
@ -7,7 +7,7 @@ local M = {}
|
|||
|
||||
function M.setup()
|
||||
if vim.env.LAZY_STDPATH then
|
||||
local root = vim.fn.fnamemodify(vim.env.LAZY_STDPATH, ":p"):gsub("[\\/]$", "")
|
||||
local root = vim.fn.fnamemodify(vim.env.LAZY_STDPATH, ":p")
|
||||
for _, name in ipairs({ "config", "data", "state", "cache" }) do
|
||||
vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
|
||||
end
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue