rust/src/etc/vim
bors 929b75e220 auto merge of #7747 : chris-morgan/rust/vim-compiler-rustc, r=huonw
Note that this is not actually *used* by default; it is a matter of
configuration still, because you might want to:

- Compile all .rs files with `rustc %` (where each can be built itself)

- Compile all .rs files with `rustc some-file.rs` (where you are editing
  part of a crate)

- Compile with a different tool, such as `make`. (In this case you might
  put a `~/.vim/after/compiler/rustc.vim` to match such cases, set
  makeprg and extend errorformat as appropriate. That should probably go
  in a different compiler mode, e.g. make-rustc.)

To try using it, `:compiler rustc`. Then, `:make` on a file you would
run `rustc` on will work its magic, invoking rustc. To automate this,
you could have something like `autocmd FileType rust compiler rustc` in
your Vim config.
2013-07-18 05:07:39 -07:00
..
after/syntax Remove colorcolumn setting 2013-05-28 16:06:15 +02:00
compiler rustc compiler config for Vim. 2013-07-12 23:51:03 +10:00
ftdetect minor updates to vim config files 2012-07-02 15:48:59 -04:00
ftplugin Fix problem with switching between Rust buffers. 2013-07-12 16:18:48 +10:00
indent Fix Vim indentation for inline closures. 2013-07-11 14:38:32 -04:00
syntax Vim syntax: support lifetimes with delimitMate. 2013-07-12 15:30:51 +10:00