refactor(config): change module name to 'config'

This commit is contained in:
Smirnov Oleksandr 2023-02-07 21:46:06 +02:00
parent d91bae8864
commit 785334860c

View file

@ -9,7 +9,7 @@
---@field iferr string ---@field iferr string
---@field dlv string ---@field dlv string
local M = { local config = {
---@type gopher.Config ---@type gopher.Config
config = { config = {
---set custom commands for tools ---set custom commands for tools
@ -26,8 +26,8 @@ local M = {
---Plugin setup function ---Plugin setup function
---@param opts gopher.Config user config ---@param opts gopher.Config user config
function M.setup(opts) function config.setup(opts)
M.config = vim.tbl_deep_extend("force", M.config, opts or {}) config.config = vim.tbl_deep_extend("force", config.config, opts or {})
end end
return M return config