diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-01-27 22:24:04 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-01-27 22:24:04 +0530 |
| commit | 4af4b377a0217b063f9da673ef2d0fbd083ac24d (patch) | |
| tree | 250a154b26396d2a2933e6a4e6ad8c6274567502 | |
| parent | 36d0e90e6be5ab9fc4cfd19b3b98eeafbfada84d (diff) | |
| parent | 59c2de16dfc06506b15907543f0ab952bf07822c (diff) | |
| download | rust-4af4b377a0217b063f9da673ef2d0fbd083ac24d.tar.gz rust-4af4b377a0217b063f9da673ef2d0fbd083ac24d.zip | |
Rollup merge of #21624 - emanueLczirai:vim_syntastic_fix, r=sanxiyn
when saving .rs files under vim do not fail to run the syntax checker error: Unrecognized option: 'parse-only'. due to this commit 953f294ea30253bb5578e3c895d17fcc97c20dce which removed the deprecated flag --parse-only
| -rw-r--r-- | src/etc/vim/syntax_checkers/rust/rustc.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/vim/syntax_checkers/rust/rustc.vim b/src/etc/vim/syntax_checkers/rust/rustc.vim index 5cd419ca732..5d196086168 100644 --- a/src/etc/vim/syntax_checkers/rust/rustc.vim +++ b/src/etc/vim/syntax_checkers/rust/rustc.vim @@ -14,7 +14,7 @@ let s:save_cpo = &cpo set cpo&vim function! SyntaxCheckers_rust_rustc_GetLocList() dict - let makeprg = self.makeprgBuild({ 'args': '--parse-only' }) + let makeprg = self.makeprgBuild({ 'args': '-Zparse-only' }) let errorformat = \ '%E%f:%l:%c: %\d%#:%\d%# %.%\{-}error:%.%\{-} %m,' . |
