From be6d1f995f9680588a5452f1e92e1f8d52503c2d Mon Sep 17 00:00:00 2001 From: siduck Date: Mon, 15 Aug 2022 19:23:55 +0530 Subject: [PATCH] fix mapleader not mapped properly to general mappings this happens cuz all mappings are set just after calling core.options and custom module is called at the end of the init.lua #1475 --- init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 1c19c3f..0e2e5fa 100644 --- a/init.lua +++ b/init.lua @@ -5,8 +5,6 @@ end, 0) require "core" require "core.options" -require("core.utils").load_mappings() - -- setup packer + plugins local fn = vim.fn local install_path = fn.stdpath "data" .. "/site/pack/packer/opt/packer.nvim" @@ -23,3 +21,5 @@ if fn.empty(fn.glob(install_path)) > 0 then end pcall(require, "custom") + +require("core.utils").load_mappings()