Rust - mawww/kakoune GitHub Wiki
Rust features indentation, inspired by other auto languages in kakoune as well as rust.vim.
Most of the parts will auto-indent on-the-fly.
- 100 rust max width wrap and tabstop, see https://github.com/mawww/kakoune/pull/3510
- Continue comments
/// <ret> // trailing whitespace will be removed when leaving insert mode
- Remove comments
///<ret>
- Auto indent
struct Option<T>
where<ret> // <-- will dedent where
struct Option<T>
where
T: PartialEq
{<ret> // <-- will dedent {
struct Option<T> {
Some(T),
None,
}<ret> // <-- will dedent }