1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-11-22 11:31:30 +01:00

vim: ale: add 'analyzer' rust linter

This commit is contained in:
bretello 2020-12-04 03:00:12 +01:00
parent 401a53cbe7
commit 1544ebb79a
Signed by: brethil
GPG Key ID: 876AAC6290170FE7

View File

@ -44,24 +44,24 @@ let g:ale_linters = {
\ 'bash': ['bashlint', "shellcheck"], \ 'bash': ['bashlint', "shellcheck"],
\ 'python': ['pyls', 'pylint', 'bandit', 'mypy'], \ 'python': ['pyls', 'pylint', 'bandit', 'mypy'],
\ 'go': ['gopls', 'gobuild'], \ 'go': ['gopls', 'gobuild'],
\ 'rust': ['rustc'], \ 'rust': ['analyzer', 'rustc'],
\ 'yaml': ['yamllint'], \ 'yaml': ['yamllint'],
\ 'javascript': ["yarn lint", "eslint", "vls"] \ 'javascript': ["yarn lint", "eslint", "vls"]
\} \}
let g:ack_default_options = " --cc --cpp --shell --python --html --js --vue" let g:ack_default_options = " --cc --cpp --shell --python --html --js --vue"
let g:ale_completion_enabled = 1
let g:ale_completion_autoimport = 1
let g:ale_set_quickfix=1 let g:ale_set_quickfix=1
let g:ale_set_loclist=0 let g:ale_set_loclist=0
" let g:ale_open_list = 1 let g:ale_open_list = 1
" let g:ale_keep_list_window_open = 0 let g:ale_keep_list_window_open = 1
let g:ale_lint_on_save = 1 let g:ale_lint_on_save = 1
let g:ale_fix_on_save = 1 let g:ale_fix_on_save = 1
let g:ale_completion_enabled = 1 let g:ale_completion_enabled = 1
" let g:ale_completion_autoimport = 1
nmap <Space> <leader>
packadd termdebug packadd termdebug