reload chadrc in autocmd

This commit is contained in:
siduck 2024-03-19 09:32:01 +05:30
parent 2e54fce028
commit e5f8a38ae3

View File

@ -21,6 +21,7 @@ autocmd("BufWritePost", {
local module = string.gsub(fp, "^.*/" .. app_name .. "/lua/", ""):gsub("/", ".") local module = string.gsub(fp, "^.*/" .. app_name .. "/lua/", ""):gsub("/", ".")
require("plenary.reload").reload_module "nvconfig" require("plenary.reload").reload_module "nvconfig"
require("plenary.reload").reload_module "chadrc"
require("plenary.reload").reload_module "base46" require("plenary.reload").reload_module "base46"
require("plenary.reload").reload_module(module) require("plenary.reload").reload_module(module)