rust/src/etc/vim
bors 829680840c auto merge of #17513 : dradtke/rust/master, r=kballard
Looks like I made my previous PR a little too hastily. =)

This PR fixes a couple issues that I discovered with my previous revision:

1. Updated the errorformat to ignore "pointer lines" so that they don't show up in the output (with quickfix jumping, they're redundant and unnecessary).
2. Renamed a couple variables to be more in line with Cargo's terminology (`g:cargo_toml_name` should now be `g:cargo_manifest_name`).
3. Added support for errors reported with absolute paths (looks to be the case when compiling an executable instead of a library).
4. Most importantly, added support for errors reported while compiling a dependency. When building a Cargo package with local dependencies, if one of those dependencies failed to compile, the quickfix would be completely broken as it assumed that all errors were relative to the local manifest, or the closest Cargo.toml. With this update, it now pays attention to lines that end with `(file://<path>)`, and from then on adjusts all errors to be relative to `<path>`.

As a side note, that `<path>` output is somewhat broken on Windows. While `file:///home/damien/...` on *Nix is a valid URI, `file:///C:/Users/damien/...` on Windows is not, because `C:/` (or whatever the drive is) should take the place of the third slash which is *Nix's root, not be appended to it. I added a workaround for this in my script, but I figured I'd mention it to see if this is a bug in how Rust formats paths.
2014-11-22 06:31:43 +00:00
..
after/syntax vim: Stop setting conceallevel in the syntax file 2014-08-13 16:52:26 -07:00
autoload vim: Fix :RustRun when cwd has a space in it 2014-10-22 22:22:44 -07:00
compiler Added check for absolute file path, removed hard tab, and added documentation for new option. 2014-11-04 14:08:57 -06:00
doc auto merge of #17513 : dradtke/rust/master, r=kballard 2014-11-22 06:31:43 +00:00
ftdetect remove old rc extension from detection files 2014-01-22 20:39:32 -05:00
ftplugin Adding switch in vim plugin to toggle format opts 2014-11-19 18:06:53 +10:00
indent fix for vim < 7.4.355 2014-09-18 22:16:47 +02:00
plugin Add a Syntastic plugin for Rust. 2014-06-16 18:16:05 -07:00
syntax Rename IntoStr to IntoString 2014-11-16 12:41:55 +11:00
syntax_checkers/rust Add a Syntastic plugin for Rust. 2014-06-16 18:16:05 -07:00