Update fixers and sort linters

This commit is contained in:
ViViDboarder 2019-10-28 16:30:34 -07:00
parent 53209bff90
commit 6d67d84fc5
1 changed files with 4 additions and 2 deletions

View File

@ -62,15 +62,17 @@ elseif has('nvim') || v:version >= 800
" NOTE: Some of these are installed when bootstrapping environment,
" outside of vim setup
let g:ale_linters = {
\ 'python': ['pyls', 'flake8', 'mypy', 'pylint'],
\ 'go': ['gopls', 'golint', 'gometalinter'],
\ 'python': ['pyls', 'flake8', 'mypy', 'pylint'],
\ 'rust': ['rls', 'cargo'],
\ 'sh': ['language_server', 'shell', 'shellcheck'],
\}
let g:ale_fixers = {
\ 'go': ['gofmt', 'goimports'],
\ 'json': ['prettier', 'remove_trailing_lines'],
\ 'markdown': ['trim_whitespace', 'remove_trailing_lines'],
\ 'rust': ['rustfmt'],
\ 'markdown': ['trim_whitespace'],
\ 'yaml': ['prettier', 'remove_trailing_lines'],
\}
" Auto-complete from ALE, possible alternative to asyncomplete