From 59c2de16dfc06506b15907543f0ab952bf07822c Mon Sep 17 00:00:00 2001 From: emanueLczirai Date: Sun, 25 Jan 2015 16:07:43 +0100 Subject: [PATCH] fix vim syntastic: --parse-only => -Z parse-only 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 --- src/etc/vim/syntax_checkers/rust/rustc.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,' .