From ed9082dfb4bb66243ebcf698d32c5062556cbfeb Mon Sep 17 00:00:00 2001 From: siduck Date: Mon, 23 May 2022 14:54:59 +0530 Subject: [PATCH] load custom module | fix https://github.com/NvChad/NvChad/commit/a2ff5c285e3fe96026db2852f169a6703090e26e#commitcomment-74274032 --- init.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/init.lua b/init.lua index 1fad1f1..1aab68f 100644 --- a/init.lua +++ b/init.lua @@ -11,3 +11,9 @@ require "core.options" -- setup packer + plugins require("core.packer").bootstrap() require "plugins" + +local user_conf, _ = pcall(require, "custom") + +if user_conf then + require "custom" +end