vim: ale: add 'analyzer' rust linter

feature/symbol-search
bretello 2020-12-04 03:00:12 +01:00
parent 401a53cbe7
commit 1544ebb79a
Signed by: brethil
GPG Key ID: 876AAC6290170FE7
1 changed files with 5 additions and 5 deletions

View File

@ -44,24 +44,24 @@ let g:ale_linters = {
\ 'bash': ['bashlint', "shellcheck"],
\ 'python': ['pyls', 'pylint', 'bandit', 'mypy'],
\ 'go': ['gopls', 'gobuild'],
\ 'rust': ['rustc'],
\ 'rust': ['analyzer', 'rustc'],
\ 'yaml': ['yamllint'],
\ 'javascript': ["yarn lint", "eslint", "vls"]
\}
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_loclist=0
" let g:ale_open_list = 1
" let g:ale_keep_list_window_open = 0
let g:ale_open_list = 1
let g:ale_keep_list_window_open = 1
let g:ale_lint_on_save = 1
let g:ale_fix_on_save = 1
let g:ale_completion_enabled = 1
" let g:ale_completion_autoimport = 1
nmap <Space> <leader>
packadd termdebug