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

View File

@ -1,38 +1,37 @@
G = require('G') G = require('G')
local lazypath = G.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not G.loop.fs_stat(lazypath) then
G.fn.system({
"git",
"clone",
"--filter=blob:none",
"http://git.qqnewbie.top/newbieQQ/lazy.nvim.git",
"--branch=stable",
lazypath,
})
G.fn.system({
"git",
"config",
"--global",
"credential.helper",
"store",
})
end
G.opt.rtp:prepend(lazypath)
if G.g.vscode then if G.g.vscode then
require('vscode') require('vscode')
else else
local lazypath = G.fn.stdpath("data") .. "/lazy/lazy.nvim" require("keymap")
if not G.loop.fs_stat(lazypath) then require("options")
G.fn.system({
"git",
"clone",
"--filter=blob:none",
"http://git.qqnewbie.top/newbieQQ/lazy.nvim.git",
"--branch=stable",
lazypath,
})
G.fn.system({
"git",
"config",
"--global",
"credential.helper",
"store",
})
end
G.opt.rtp:prepend(lazypath)
require("lazy").setup(require('plugs')) require("lazy").setup(require('plugs'))
end end
require("keymap")
require("options")