2023-10-01 00:45:00 +08:00
|
|
|
local 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",
|
|
|
|
"https://github.com/folke/lazy.nvim.git",
|
|
|
|
"--branch=stable", -- latest stable release
|
|
|
|
lazypath,
|
|
|
|
})
|
|
|
|
end
|
|
|
|
|
|
|
|
G.opt.rtp:prepend(lazypath)
|
|
|
|
|
|
|
|
|
|
|
|
if vim.g.vscode then
|
|
|
|
require('Plugin.Imchange')
|
|
|
|
else
|
|
|
|
require('neovim.neovim')
|
|
|
|
end
|
|
|
|
|
|
|
|
require('normal.normal')
|
|
|
|
|
2023-01-28 15:11:37 +08:00
|
|
|
|
2023-09-30 20:08:03 +08:00
|
|
|
-- require('vscode')
|
|
|
|
-- require('Plugin.coc')
|
2023-09-30 20:30:35 +08:00
|
|
|
|
2023-01-22 20:20:54 +08:00
|
|
|
require('Plugin.lualine')
|
2023-02-24 22:16:06 +08:00
|
|
|
require('Plugin.Imchange')
|
2023-05-08 23:43:49 +08:00
|
|
|
require('Plugin.NERDTree')
|
|
|
|
|
2023-03-25 09:09:33 +08:00
|
|
|
|
|
|
|
|
|
|
|
|