refactor(config): change module name to 'config'
This commit is contained in:
parent
d91bae8864
commit
785334860c
1 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue