36 lines
595 B
Lua
36 lines
595 B
Lua
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('vscode.vscode')
|
|
else
|
|
require('neovim.neovim')
|
|
end
|
|
|
|
require('normal.normal')
|
|
|
|
-- require('Plugin.coc')
|
|
|
|
-- require('Plugin.Imchange')
|
|
-- require('Plugin.lualine')
|
|
-- require('Plugin.Imchange')
|
|
-- require('Plugin.NERDTree')
|
|
|
|
|
|
|
|
|