Add go to ale config

This commit is contained in:
Pavle Portic 2023-10-03 12:16:20 +02:00
parent aeff98733a
commit 0f68e915cd
Signed by: TheEdgeOfRage
GPG Key ID: 66AD4BA646FBC0D2
1 changed files with 1 additions and 0 deletions

View File

@ -265,6 +265,7 @@ function! UserConfig()
\ 'javascript': ['eslint'],
\ 'python': ['flake8', 'isort', 'mypy'],
\ 'typescript': ['prettier', 'eslint'],
\ 'go': ['gofmt', 'golangci-lint', 'gopls', 'govet']
\ }
let g:ale_fixers = {
\ '*': ['remove_trailing_lines', 'trim_whitespace'],