load custom/init.lua at last | fix (#694)

This commit is contained in:
siduck 2022-01-07 07:30:55 +05:30
parent 0a546e4720
commit 799432e99e

View File

@ -1,6 +1,3 @@
-- try to call custom init
pcall(require, "custom")
local core_modules = { local core_modules = {
"core.options", "core.options",
"core.autocmds", "core.autocmds",
@ -16,3 +13,6 @@ end
-- non plugin mappings -- non plugin mappings
require("core.mappings").misc() require("core.mappings").misc()
-- try to call custom init
pcall(require, "custom")