2022-05-23 03:24:03 -04:00
|
|
|
require "core"
|
2022-05-23 05:24:59 -04:00
|
|
|
|
2024-02-29 11:27:31 -05:00
|
|
|
pcall(require, 'custom')
|
2023-03-01 03:59:12 -05:00
|
|
|
|
2023-01-07 03:11:43 -05:00
|
|
|
local lazypath = vim.fn.stdpath "data" .. "/lazy/lazy.nvim"
|
|
|
|
|
2023-03-01 03:59:12 -05:00
|
|
|
-- bootstrap lazy.nvim!
|
2023-01-07 03:11:43 -05:00
|
|
|
if not vim.loop.fs_stat(lazypath) then
|
|
|
|
require("core.bootstrap").gen_chadrc_template()
|
|
|
|
require("core.bootstrap").lazy(lazypath)
|
|
|
|
end
|
|
|
|
|
2023-03-24 22:45:53 -04:00
|
|
|
dofile(vim.g.base46_cache .. "defaults")
|
2023-01-07 03:11:43 -05:00
|
|
|
vim.opt.rtp:prepend(lazypath)
|
|
|
|
require "plugins"
|
2024-02-29 11:27:31 -05:00
|
|
|
|
|
|
|
vim.schedule(function()
|
|
|
|
require "core.mappings"
|
|
|
|
end, 0)
|