gopher.nvim/lua/gopher/config.lua
2022-09-22 17:54:49 +03:00

21 lines
398 B
Lua

local M = {
config = {
---set custom commands for tools
commands = {
go = "go",
gomodifytags = "gomodifytags",
gotests = "gotests",
impl = "impl",
iferr = "iferr",
dlv = "dlv",
},
},
}
---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