2022-05-23 12:54:03 +05:30
|
|
|
require "core"
|
2022-05-23 14:54:59 +05:30
|
|
|
|
2022-12-17 17:04:52 +05:30
|
|
|
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 19:23:55 +05:30
|
|
|
|
2023-03-01 14:29:12 +05:30
|
|
|
require("core.utils").load_mappings()
|
|
|
|
|
2023-01-07 13:41:43 +05:30
|
|
|
local lazypath = vim.fn.stdpath "data" .. "/lazy/lazy.nvim"
|
|
|
|
|
2023-03-01 14:29:12 +05:30
|
|
|
-- bootstrap lazy.nvim!
|
2023-01-07 13:41:43 +05:30
|
|
|
if not vim.loop.fs_stat(lazypath) then
|
|
|
|
require("core.bootstrap").gen_chadrc_template()
|
|
|
|
require("core.bootstrap").lazy(lazypath)
|
|
|
|
end
|
|
|
|
|
2023-03-25 08:15:53 +05:30
|
|
|
dofile(vim.g.base46_cache .. "defaults")
|
2023-01-07 13:41:43 +05:30
|
|
|
vim.opt.rtp:prepend(lazypath)
|
|
|
|
require "plugins"
|