From 1544ebb79a9ccce56e64f905817896c8e169e037 Mon Sep 17 00:00:00 2001 From: bretello Date: Fri, 4 Dec 2020 03:00:12 +0100 Subject: [PATCH] vim: ale: add 'analyzer' rust linter --- my_configs.vim | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/my_configs.vim b/my_configs.vim index 6083886..2807a16 100644 --- a/my_configs.vim +++ b/my_configs.vim @@ -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 packadd termdebug