gopher.nvim/lua/gopher/config.lua
Smirnov Oleksandr bcb8f09311 feat(config): naive implementation
feat(config): get command for a run from config
2022-06-27 19:03:33 +03:00

19 lines
350 B
Lua

local M = {
config = {
---set custom commands for tools
commands = {
go = "go",
gomodifytags = "gomodifytags",
gotests = "gotests",
impl = "impl",
},
},
}
---PLugin setup function
---@param opts table user options
function M.setup(opts)
M.config = vim.tbl_deep_extend("force", M.config, opts)
end
return M