nvim/init.lua

41 lines
557 B
Lua
Raw Normal View History

2023-10-02 22:05:38 +08:00
G = require('G')
2023-10-01 00:45:00 +08:00
2023-11-16 12:46:18 +08:00
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)
2023-10-07 10:49:13 +08:00
2023-11-19 00:37:52 +08:00
require("keymap")
2023-11-18 23:58:25 +08:00
2023-10-02 22:05:38 +08:00
if G.g.vscode then
2023-11-15 23:40:02 +08:00
require('vscode')
2023-10-08 22:40:40 +08:00
else
2023-11-16 12:46:18 +08:00
require("options")
2023-11-22 23:59:31 +08:00
require("lazy").setup({
require('plugs')
})
2023-10-01 00:45:00 +08:00
end
2023-10-15 22:30:52 +08:00