diff --git a/lua/go/lsp.lua b/lua/go/lsp.lua index 8dd070625..cd11dc8c0 100644 --- a/lua/go/lsp.lua +++ b/lua/go/lsp.lua @@ -108,7 +108,7 @@ end function M.config() local gopls = require('go.gopls').setups() if gopls == nil then - return + return {} end if _GO_NVIM_CFG == nil then vim.notify('please setup go.nvim', vim.lsp.log_levels.WARN)