on master help sign in
toggle_comments needs to append to history.
175d38cBlaž Hrastnik
helix-term/src/commands.rs+1
@@ -1475,6 +1475,7 @@ pub fn toggle_comments(cx: &mut Context) {
1475 let transaction = comment::toggle_line_comments(doc.text(), doc.selection());
1475 let transaction = comment::toggle_line_comments(doc.text(), doc.selection());
1476
1476
1477 doc.apply(&transaction);
1477 doc.apply(&transaction);
1478+ doc.append_changes_to_history();
1478}
1479}
1479
1480
1480// tree sitter node selection
1481// tree sitter node selection