Fix default mappings not load if chadrc.lua does not exist (#2037)

* Fix default mappings not load if chadrc.lua does not exist

The regression was introduced by dab9171e64

Fix #1961 #2025

* clean up!

---------

Co-authored-by: siduck <siduck@tutanota.com>
This commit is contained in:
Zhong Jianxin
2023-06-15 10:33:01 +08:00
committed by GitHub
parent a18d92dfa6
commit e3bb39106e
2 changed files with 3 additions and 3 deletions

View File

@@ -87,6 +87,6 @@ M.plugins = "" -- path i.e "custom.plugins", so make custom/plugins.lua file
M.lazy_nvim = require "plugins.configs.lazy_nvim" -- config for lazy.nvim startup options
M.mappings = {}
M.mappings = require "core.mappings"
return M