File tree Expand file tree Collapse file tree 2 files changed +34
-1
lines changed
branches/snap-stage3/src/etc/vim/compiler Expand file tree Collapse file tree 2 files changed +34
-1
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 2d28d645422c1617be58c8ca7ad9a457264ca850
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: 0335339c184e46eac958841e0e021dbdab873efd
4
+ refs/heads/snap-stage3: 929b75e220f6fced42dcfe2146700ceba1e2cebe
5
5
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
Original file line number Diff line number Diff line change
1
+ " Vim compiler file
2
+ " Compiler: Rust Compiler
3
+ " Maintainer: Chris Morgan <[email protected] >
4
+ " Latest Revision: 2013 Jul 12
5
+
6
+ if exists (" current_compiler" )
7
+ finish
8
+ endif
9
+ let current_compiler = " rustc"
10
+
11
+ let s: cpo_save = &cpo
12
+ set cpo &vim
13
+
14
+ if exists (" :CompilerSet" ) != 2
15
+ command -nargs =* CompilerSet setlocal <args>
16
+ endif
17
+
18
+ if exists (" g:rustc_makeprg_no_percent" ) && g: rustc_makeprg_no_percent == 1
19
+ CompilerSet makeprg = rustc
20
+ else
21
+ CompilerSet makeprg = rustc\ \%
22
+ endif
23
+
24
+ CompilerSet errorformat =
25
+ \% f :% l: % c :\ % t %* [^:]:\ % m ,
26
+ \% f :% l: % c :\ %* \\ d :%* \\ d \ % t %* [^:]:\ % m ,
27
+ \% - G% f :% l \ % s ,
28
+ \% - G%* [\ ]^,
29
+ \% - G%* [\ ]^%* [~],
30
+ \% - G%* [\ ]...
31
+
32
+ let &cpo = s: cpo_save
33
+ unlet s: cpo_save
You can’t perform that action at this time.
0 commit comments