I am having a really hard time getting vim-go to play well with golanci-lint.
golint
, which was a default linter for go, has been deprecated. Most users now suggest to use revive
.
While the default config of vim-go
with golint
was working, but printing a deprecated message on the status line, if I put revive
instead, I only get
vim-go: [golangci-lint] FAIL
Ubuntu 20.04, with 8.1.2269-1ubuntu5
vim-go: v1.25
.vimrc:
let g:go_metalinter_enabled = []
let g:go_metalinter_command = 'golangci-lint'
let g:go_metalinter_autosave = 1
let g:go_metalinter_autosave_enabled = ['vet','revive','errcheck','staticcheck','unused','varcheck']