From 4d50c5b38f3d90f4bbeed51b1caf313bed72c296 Mon Sep 17 00:00:00 2001 From: Michael Campagnaro Date: Thu, 2 Mar 2017 10:38:58 -0500 Subject: [PATCH] Fix syntastic checker for Rust --- vimrc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/vimrc b/vimrc index 7a224f4..d94a9e0 100644 --- a/vimrc +++ b/vimrc @@ -581,6 +581,14 @@ let g:syntastic_auto_loc_list = 1 let g:syntastic_check_on_open = 0 let g:syntastic_check_on_wq = 0 +" Customize Rust +" https://github.com/rust-lang/rust.vim/issues/130 +" Can remove once this Syntastic PR is merged https://github.com/rust-lang/rust.vim/pull/132 +let g:syntastic_rust_rustc_exe = 'cargo check' +let g:syntastic_rust_rustc_fname = '' +let g:syntastic_rust_checkers = ['rustc'] + + """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " C-TAGS """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""