kakoune/test/indent
Ivan Tham 974684aa68 Improve rust comment closing handling
/// foo
    ///%( )

    /// foo
    /// %( )

With `c<ret>bar<esc>`,

    /// foo
    bar

    /// foo
    ///
    /// bar

Based on c-family block comment handling, this patch also add rust
block comment indentation.

This affects `o` behavior on empty comment but it allows a way more
efficient way to clear comments.
2020-07-09 23:02:50 +08:00
..
c-family Expand env vars as list of strings 2020-03-02 20:53:28 +11:00
clojure/doubled-brackets {clojure,lisp}.kak: handle doubled brackets 2020-01-03 15:14:56 -05:00
comment Add categories in rc/ 2019-03-21 01:06:16 +01:00
haskell Add categories in rc/ 2019-03-21 01:06:16 +01:00
html [html] Fix indentation when entering a newline while in the middle of a tag 2019-11-03 12:25:02 +01:00
lisp/doubled-brackets {clojure,lisp}.kak: handle doubled brackets 2020-01-03 15:14:56 -05:00
lua/insert-end-only-when-needed Add categories in rc/ 2019-03-21 01:06:16 +01:00
markdown Add categories in rc/ 2019-03-21 01:06:16 +01:00
ruby Add support for autoformatting after do keyword in Ruby 2019-06-12 09:03:24 +03:00
rust Improve rust comment closing handling 2020-07-09 23:02:50 +08:00
sh Fix indent/sh/deindent-after-esac test case 2019-07-01 22:04:04 +10:00