aboutsummaryrefslogtreecommitdiffstats
path: root/ftplugin/rust.vim
AgeCommit message (Collapse)Author
2020-08-02ftplugin/rust.vim: Fix spacingTeddy Wing
2020-08-02ftplugin/rust.vim: Add mapping to run testsTeddy Wing
2020-07-19ftplugin/rust.vim: Add a command to run `cargo check`Teddy Wing
Faster than using `cargo build` for a feedback cycle.
2020-07-19ftplugin/rust.vim: Activate Rust plugin's ftpluginTeddy Wing
Take advantage of the Rust Vim plugin's additional language-specific features, like `///` and `//!` comment handling.
2020-07-17ftplugin/rust.vim: Add mappings to build and runTeddy Wing
2020-07-17ftplugin/rust.vim: Turn on `b:argwrap_tail_comma`Teddy Wing
Rust style seems to prefer trailing commas.
2019-06-17vimrc: Don't preserve indentation on empty linesTeddy Wing
Over the years and as I've been using Vim, I've gradually stopped liking this style, and now prefer blank lines without whitespace. Rather than continuing to override the default for different filetypes, it feels like it's time to change the default.
2016-04-06ftplugin/rust.vim: Don't preserve indentation on empty linesTeddy Wing
Don't think we should be doing this in Rust so taking away my default behaviour.
2016-03-27ftplugin/rust.vim: Add commentstringTeddy Wing
Set `// ` as the comment string for the Rust language (otherwise it defaults to `/* %s */`).
2016-03-26ftplugin/rust.vim: Use 4-space tabsTeddy Wing
According to http://doc.rust-lang.org/book/getting-started.html, the Rust convention is apparently 4-space indentation. Update our settings to match this.