toggle_comments needs to append to history.

imgbot
Blaž Hrastnik 4 years ago
parent c331721565
commit 175d38c88c

@ -1475,6 +1475,7 @@ pub fn toggle_comments(cx: &mut Context) {
let transaction = comment::toggle_line_comments(doc.text(), doc.selection()); let transaction = comment::toggle_line_comments(doc.text(), doc.selection());
doc.apply(&transaction); doc.apply(&transaction);
doc.append_changes_to_history();
} }
// tree sitter node selection // tree sitter node selection

Loading…
Cancel
Save