1
0
Fork 0
mirror of https://github.com/CompeyDev/my-nvim-setup.git synced 2025-04-07 00:00:54 +01:00

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 
This commit is contained in:
siduck 2022-08-15 19:23:55 +05:30
parent ac0faa4f8b
commit be6d1f995f

View file

@ -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()