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