diff options
| author | Chris Morgan <me@chrismorgan.info> | 2013-07-12 23:44:27 +1000 |
|---|---|---|
| committer | Chris Morgan <me@chrismorgan.info> | 2013-07-12 23:51:03 +1000 |
| commit | 917d720f4859e807ec806e3674b18cd8950f136a (patch) | |
| tree | 6ffaeb24c50d3a4e0582fb3dda6548269f3a6b81 /src/rt/rust_kernel.cpp | |
| parent | f67935257b19b0904b282c949770d85089fdcf3c (diff) | |
| download | rust-917d720f4859e807ec806e3674b18cd8950f136a.tar.gz rust-917d720f4859e807ec806e3674b18cd8950f136a.zip | |
rustc compiler config for Vim.
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.
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions
