fix(config): now it not removes .setup() from itself after calling

.setup()
This commit is contained in:
Smirnov Oleksandr 2023-07-20 00:31:47 +03:00
parent e49f3fadd7
commit eac5560200

View file

@ -17,7 +17,7 @@ local default_config = {
---@param user_config gopher.Config|nil ---@param user_config gopher.Config|nil
function config.setup(user_config) function config.setup(user_config)
config = vim.tbl_deep_extend("force", {}, default_config, user_config or {}) config = vim.tbl_deep_extend("force", config, default_config, user_config or {})
end end
-- setup ifself, needs for ability to get -- setup ifself, needs for ability to get