mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-23 00:37:33 +00:00
Update fixers and sort linters
This commit is contained in:
parent
53209bff90
commit
6d67d84fc5
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user