2022-05-23 07:24:03 +00:00
|
|
|
require "core"
|
2022-05-23 09:24:59 +00:00
|
|
|
|
2022-12-17 11:34:52 +00:00
|
|
|
local custom_init_path = vim.api.nvim_get_runtime_file("lua/custom/init.lua", false)[1]
|
|
|
|
|
|
|
|
if custom_init_path then
|
|
|
|
dofile(custom_init_path)
|
|
|
|
end
|
2022-08-15 13:53:55 +00:00
|
|
|
|
2023-03-01 08:59:12 +00:00
|
|
|
require("core.utils").load_mappings()
|
|
|
|
|
2023-01-07 08:11:43 +00:00
|
|
|
local lazypath = vim.fn.stdpath "data" .. "/lazy/lazy.nvim"
|
|
|
|
|
2023-03-01 08:59:12 +00:00
|
|
|
-- bootstrap lazy.nvim!
|
2023-01-07 08:11:43 +00:00
|
|
|
if not vim.loop.fs_stat(lazypath) then
|
2023-03-26 10:22:41 +00:00
|
|
|
require("core.bootstrap").base46()
|
2023-01-07 08:11:43 +00:00
|
|
|
require("core.bootstrap").gen_chadrc_template()
|
|
|
|
require("core.bootstrap").lazy(lazypath)
|
|
|
|
end
|
|
|
|
|
2023-03-25 02:45:53 +00:00
|
|
|
dofile(vim.g.base46_cache .. "defaults")
|
2023-01-07 08:11:43 +00:00
|
|
|
vim.opt.rtp:prepend(lazypath)
|
|
|
|
require "plugins"
|