nvchad/init.lua
siduck 947186b7ec dont load statusline highlights cache
as its included in the defaults file now!
2023-01-29 18:19:10 +05:30

23 lines
539 B
Lua

require "core"
require "core.options"
require("core.utils").load_mappings()
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
-- bootstrap lazy.nvim!
local lazypath = vim.fn.stdpath "data" .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
require("core.bootstrap").gen_chadrc_template()
require("core.bootstrap").lazy(lazypath)
end
vim.opt.rtp:prepend(lazypath)
require "plugins"
loadfile(vim.g.base46_cache .. "defaults")()