go.nvim icon indicating copy to clipboard operation
go.nvim copied to clipboard

Is there an equivalent of `:GoErrCheck` in ray-x/go.nvim like in fatih/vim-go?

Open stephane-archer opened this issue 2 years ago • 4 comments

stephane-archer avatar Nov 28 '23 01:11 stephane-archer

Yes, Please use GoLint instead. and make sure you installed golaingci-lint and enabled errcheck for golaingci-lint

ray-x avatar Nov 28 '23 06:11 ray-x

How do I enable errcheck for golaingci-lint? in my lua config?

stephane-archer avatar Nov 28 '23 12:11 stephane-archer

you may need a golangci-lint config file: https://golangci-lint.run/usage/configuration#config-file

ray-x avatar Nov 29 '23 05:11 ray-x

Thank you Why did you choose to not enable all available linters?

stephane-archer avatar Dec 02 '23 13:12 stephane-archer