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