feat: Do not depend on user config | Fix merging of configs
because it is a user config, so our config shoudn't break even we if dont have it use our own table merge function move loading config to a function use a global variable to store the config, so no need to call the table function everytime
This commit is contained in:
parent
02f0122ab4
commit
7753e03b9e
7 changed files with 98 additions and 12 deletions
lua/plugins
|
@ -4,7 +4,7 @@ if not present then
|
|||
return
|
||||
end
|
||||
|
||||
local mappings = require("chadrc").mappings
|
||||
local mappings = require("utils").load_config().mappings
|
||||
|
||||
-- add user mappings to the cheetsheet
|
||||
for section, data in pairs(mappings) do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue