diff options
Diffstat (limited to 'compiler/rustc.vim')
-rw-r--r-- | compiler/rustc.vim | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/compiler/rustc.vim b/compiler/rustc.vim index 23390fd9..bbb13189 100644 --- a/compiler/rustc.vim +++ b/compiler/rustc.vim @@ -11,8 +11,10 @@ if exists("current_compiler") endif let current_compiler = "rustc" -let s:cpo_save = &cpo +" vint: -ProhibitAbbreviationOption +let s:save_cpo = &cpo set cpo&vim +" vint: +ProhibitAbbreviationOption if exists(":CompilerSet") != 2 command -nargs=* CompilerSet setlocal <args> @@ -45,8 +47,10 @@ CompilerSet errorformat+= \%-G%*[\ ]^%*[~], \%-G%*[\ ]... -let &cpo = s:cpo_save -unlet s:cpo_save +" vint: -ProhibitAbbreviationOption +let &cpo = s:save_cpo +unlet s:save_cpo +" vint: +ProhibitAbbreviationOption " vim: set et sw=4 sts=4 ts=8: |