mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-22 03:21:30 +01:00
vim: ale: add 'analyzer' rust linter
This commit is contained in:
parent
401a53cbe7
commit
1544ebb79a
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user