This commit is contained in:
newbieQQ 2023-11-16 12:46:18 +08:00
parent 9e72d8a2b6
commit 02814a2ba4

View File

@ -1,11 +1,8 @@
G = require('G')
local lazypath = G.fn.stdpath("data") .. "/lazy/lazy.nvim"
if G.g.vscode then
require('vscode')
else
local lazypath = G.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not G.loop.fs_stat(lazypath) then
if not G.loop.fs_stat(lazypath) then
G.fn.system({
"git",
@ -24,15 +21,17 @@ else
"store",
})
end
G.opt.rtp:prepend(lazypath)
require("lazy").setup(require('plugs'))
end
require("keymap")
require("options")
G.opt.rtp:prepend(lazypath)
if G.g.vscode then
require('vscode')
else
require("keymap")
require("options")
require("lazy").setup(require('plugs'))
end