974684aa68
/// 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.
19 lines
172 B
Plaintext
19 lines
172 B
Plaintext
// foo
|
|
// bar
|
|
|
|
//! foo
|
|
//! bar
|
|
|
|
//!! foo
|
|
//!! bar
|
|
|
|
/// foo
|
|
/// bar
|
|
|
|
//// foo
|
|
//// bar
|
|
|
|
println!("hello world"); // foo
|
|
bar
|
|
|