* feat(iferr): add to installer & config * feat(iferr): add first implementation * docs(iferr): add
20 lines
379 B
Lua
20 lines
379 B
Lua
local M = {
|
|
config = {
|
|
---set custom commands for tools
|
|
commands = {
|
|
go = "go",
|
|
gomodifytags = "gomodifytags",
|
|
gotests = "gotests",
|
|
impl = "impl",
|
|
iferr = "iferr",
|
|
},
|
|
},
|
|
}
|
|
|
|
---Plugin setup function
|
|
---@param opts table user options
|
|
function M.setup(opts)
|
|
M.config = vim.tbl_deep_extend("force", M.config, opts or {})
|
|
end
|
|
|
|
return M
|