on master help sign in
toggle_comments needs to append to history.
commit175d38c88cf96dfb6744cb260abf2e8f5c1c48b9 authorBlaž Hrastnik <blaz@mxxn.io> dateThu 18 Mar 2021, 15:20 (6 years ago) parentc331721
1 file changed+1
helix-term/src/commands.rs+1
helix-term/src/commands.rs+1
@@ -1475,6 +1475,7 @@ pub fn toggle_comments(cx: &mut Context) {
14751475 let transaction = comment::toggle_line_comments(doc.text(), doc.selection());
14761476
14771477 doc.apply(&transaction);
1478+ doc.append_changes_to_history();
14781479}
14791480
14801481// tree sitter node selection