Update fixers and sort linters

This commit is contained in:
ViViDboarder 2019-10-28 16:30:34 -07:00
parent 53209bff90
commit 6d67d84fc5

View File

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