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

fix(config): set default options if user provides empty table

Changed files
+1 -1
lua
gopher
+1 -1
lua/gopher/config.lua
··· 13 13 ---Plugin setup function 14 14 ---@param opts table user options 15 15 function M.setup(opts) 16 - M.config = vim.tbl_deep_extend("force", M.config, opts) 16 + M.config = vim.tbl_deep_extend("force", M.config, opts or {}) 17 17 end 18 18 19 19 return M