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

View File

@ -1,10 +1,7 @@
G = require('G')
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
G.fn.system({
@ -25,14 +22,16 @@ else
})
end
G.opt.rtp:prepend(lazypath)
require("lazy").setup(require('plugs'))
end
if G.g.vscode then
require('vscode')
else
require("keymap")
require("options")
require("lazy").setup(require('plugs'))
end