[mirror] Make your go dev experience better github.com/olexsmir/gopher.nvim
neovim golang
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat(config): add types annotation (#21)

authored by

Smirnov Oleksandr and committed by
GitHub
e8fe6c5b f835464d

+13 -1
+13 -1
lua/gopher/config.lua
··· 1 + ---@class Config 2 + ---@field commands ConfigCommands 3 + 4 + ---@class ConfigCommands 5 + ---@field go string 6 + ---@field gomodifytags string 7 + ---@field gotests string 8 + ---@field impl string 9 + ---@field iferr string 10 + ---@field dlv string 11 + 1 12 local M = { 13 + ---@type Config 2 14 config = { 3 15 ---set custom commands for tools 4 16 commands = { ··· 13 25 } 14 26 15 27 ---Plugin setup function 16 - ---@param opts table user options 28 + ---@param opts Config user config 17 29 function M.setup(opts) 18 30 M.config = vim.tbl_deep_extend("force", M.config, opts or {}) 19 31 end