nvim/init.lua

42 lines
652 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-10-07 10:49:13 +08:00
2023-10-02 22:05:38 +08:00
if G.g.vscode then
2023-10-01 09:21:32 +08:00
require('vscode.vscode')
2023-10-08 22:40:40 +08:00
else
2023-11-14 13:47:43 +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)
require("lazy").setup({
require('normal.plug'),
2023-11-15 12:56:11 +08:00
require('neovim.plug'),
2023-11-14 13:47:43 +08:00
})
require('normal.normal')
2023-10-01 00:45:00 +08:00
require('neovim.neovim')
2023-11-14 13:47:43 +08:00
2023-10-01 00:45:00 +08:00
end
2023-10-15 22:30:52 +08:00