2023-05-15 21:11:30 +08:00
|
|
|
--
|
2023-10-10 19:04:12 +08:00
|
|
|
-- Bootstrap lazy.nvim
|
2023-05-15 21:11:30 +08:00
|
|
|
--
|
|
|
|
|
2023-10-10 19:04:12 +08:00
|
|
|
local lazypath = vim.fn.stdpath('data') .. '/lazy/lazy.nvim'
|
|
|
|
if not vim.loop.fs_stat(lazypath) then
|
|
|
|
vim.fn.system({
|
|
|
|
'git',
|
|
|
|
'clone',
|
|
|
|
'--filter=blob:none',
|
|
|
|
'https://github.com/folke/lazy.nvim.git',
|
|
|
|
'--branch=stable', -- latest stable release
|
|
|
|
lazypath,
|
|
|
|
})
|
|
|
|
end
|
|
|
|
vim.opt.rtp:prepend(lazypath)
|
2023-05-15 21:11:30 +08:00
|
|
|
|
|
|
|
|
|
|
|
--
|
2023-10-10 19:04:12 +08:00
|
|
|
-- Load our configurations
|
|
|
|
--
|
2023-05-15 21:11:30 +08:00
|
|
|
|
2023-10-10 19:04:12 +08:00
|
|
|
require('configs.options')
|
2023-05-15 21:11:30 +08:00
|
|
|
|
|
|
|
|
|
|
|
--
|
2023-10-10 19:04:12 +08:00
|
|
|
-- Load our plugin specs
|
2023-05-15 21:11:30 +08:00
|
|
|
--
|
|
|
|
|
2023-10-10 19:04:12 +08:00
|
|
|
require('lazy').setup('plugins')
|
2023-05-15 21:11:30 +08:00
|
|
|
|