[ADD][VIM] Rust options for ALE

This commit is contained in:
Bruno BELANYI 2019-10-09 17:18:49 +02:00
parent 00ab079405
commit fb646c8b74

View file

@ -313,6 +313,16 @@ let g:ale_cpp_clang_options='-Wall -Wextra -pedantic -std=c++17'
let g:ale_c_gcc_options='-Wall -Wextra -pedantic -std=c99'
let g:ale_cpp_gcc_options='-Wall -Wextra -pedantic -std=c++17'
" }}}
" Rust settings {{{
""""""""""""""""
" Check tests too
let g:ale_rust_cargo_check_tests=1
" Check examples too
let g:ale_rust_cargo_check_examples=1
" Use clippy if it's available instead of just cargo check
let g:ale_rust_cargo_use_clippy=executable('cargo-clippy')
" }}}
" }}}
" }}}