File tree Expand file tree Collapse file tree 2 files changed +34
-1
lines changed
branches/auto/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 @@ -14,6 +14,6 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
14
14
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
15
15
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
16
16
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
17
- refs/heads/auto: 0335339c184e46eac958841e0e021dbdab873efd
17
+ refs/heads/auto: 929b75e220f6fced42dcfe2146700ceba1e2cebe
18
18
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
19
19
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
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