1 files changed,
13 insertions(+),
1 deletions(-)
Author:
Smirnov Oleksandr
ss2316544@gmail.com
Committed by:
GitHub
noreply@github.com
Committed at:
2022-11-13 12:08:23 +0000
Parent:
f835464
M
lua/gopher/config.lua
@@ -1,4 +1,16 @@
+---@class Config +---@field commands ConfigCommands + +---@class ConfigCommands +---@field go string +---@field gomodifytags string +---@field gotests string +---@field impl string +---@field iferr string +---@field dlv string + local M = { + ---@type Config config = { ---set custom commands for tools commands = {@@ -13,7 +25,7 @@ },
} ---Plugin setup function ----@param opts table user options +---@param opts Config user config function M.setup(opts) M.config = vim.tbl_deep_extend("force", M.config, opts or {}) end