[vim] fix golangci-lint in ALE and set it to remote

This commit is contained in:
Bruno Carlin 2020-06-17 19:59:23 +02:00
parent 28266990bf
commit b8904f6cb3
2 changed files with 26 additions and 2 deletions

View file

@ -136,9 +136,11 @@ let g:indentLine_char = '▏'
let g:ale_completion_enabled = 0
let g:ale_open_list = 1
let g:ale_linters = {
\ 'go': ['gofmt', 'golint', 'golangci-lint']
\ 'go': ['gofmt', 'golint', 'gopls', 'golangci-lint']
\}
"let g:ale_go_golangci_lint_options = '--enable-all --disable unused'
let g:ale_go_golangci_lint_options = ''
let g:ale_go_golangci_lint_executable = 'golangci-lintw'
let g:ale_go_gopls_options = "-remote=auto"
let g:ale_fix_on_save = 0
let g:ale_sign_error = '🔴'
let g:ale_sign_info = '🔵'