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:
Akianonymus
2021-08-19 08:51:42 +05:30
committed by siduck76
parent 02f0122ab4
commit 7753e03b9e
7 changed files with 98 additions and 12 deletions

View File

@@ -144,6 +144,4 @@ M.mappings = {
},
}
M = vim.tbl_deep_extend("force", require "default_config", M)
return M