Add ale configuration for V and Rust

This commit is contained in:
2022-05-26 16:15:15 +02:00
parent a15943c362
commit c1c88bbe48

4
_vimrc
View File

@@ -67,6 +67,10 @@ endif
let g:ale_completion_autoimport = 1 let g:ale_completion_autoimport = 1
let g:ale_linters = {'rust': ['analyzer'], 'v': ['v', 'vfmt']} let g:ale_linters = {'rust': ['analyzer'], 'v': ['v', 'vfmt']}
let g:ale_linter_aliases = {
\ 'vlang': 'v',
\}
"let g:ale_rust_analyzer_config = { 'cargo': { 'allFeatures': v:true } }
" execute pathogen#infect() " execute pathogen#infect()
packloadall packloadall