Skip to content
Ivan Tham edited this page Nov 8, 2020 · 3 revisions

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.

Features (less known)

  • Continue comments
/// <ret>
  • 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 }
Clone this wiki locally