Skip to content

Commit

Permalink
fix vim syntastic: --parse-only => -Z parse-only
Browse files Browse the repository at this point in the history
when saving .rs files under vim
do not fail to run the syntax checker
error: Unrecognized option: 'parse-only'.

due to this commit
953f294
which removed the deprecated flag --parse-only
  • Loading branch information
emanueLczirai authored and emanueLczirai committed Jan 25, 2015
1 parent 0899807 commit 59c2de1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/etc/vim/syntax_checkers/rust/rustc.vim
Expand Up @@ -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,' .
Expand Down

0 comments on commit 59c2de1

Please sign in to comment.