You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NvChad/lua/core/utils.lua

15 lines
307 B
Lua

local M = {}
M.load_config = function()
local config = require "core.default_config"
local chadrc_path = vim.api.nvim_get_runtime_file("lua/custom/chadrc.lua", false)[1]
if chadrc_path then
config = vim.tbl_deep_extend("force", config, dofile(chadrc_path))
end
return config
end
return M