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
This commit is contained in:
parent
ac0faa4f8b
commit
be6d1f995f
1 changed files with 2 additions and 2 deletions
4
init.lua
4
init.lua
|
@ -5,8 +5,6 @@ end, 0)
|
||||||
require "core"
|
require "core"
|
||||||
require "core.options"
|
require "core.options"
|
||||||
|
|
||||||
require("core.utils").load_mappings()
|
|
||||||
|
|
||||||
-- setup packer + plugins
|
-- setup packer + plugins
|
||||||
local fn = vim.fn
|
local fn = vim.fn
|
||||||
local install_path = fn.stdpath "data" .. "/site/pack/packer/opt/packer.nvim"
|
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
|
end
|
||||||
|
|
||||||
pcall(require, "custom")
|
pcall(require, "custom")
|
||||||
|
|
||||||
|
require("core.utils").load_mappings()
|
||||||
|
|
Loading…
Reference in a new issue