Closed ayamir closed 2 months ago
IMO we can add Go related buffer keymaps like GoIfErr
, GoModTidy
, GoTest
etc...
Looking forward to the merge of this pr
I think we'd better avoid keymap intruduction and should leave this to user. So it ready to review now.
@ayamir The main motivation behind the last three commits is that I see go.nvim
more as an enhancement layer for Go development, rather than a complete "dev bundle" akin to those in VSCode. So I've reintroduced some basic features like LSP and formatting support to our "native" way of handling them, leaving the "fancy stuff" to go.nvim
(I've also integrated some good stuff from go.nvim
's default LSP config tho). IMO this approach avoids introducing breaking changes while also giving users the option to completely remove this plugin without worrying about a dysfunctional Go development environment. But it's just a suggestion! I'm open to reverting these changes if needed lol
LGTM 👍
This PR aims to improve go development workflow, it will close #1207. Welcome for gophers like @kincoy @mjkx5 to review this PR, join discussion and make contribution!