From 175d38c88cf96dfb6744cb260abf2e8f5c1c48b9 Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Thu, 18 Mar 2021 15:20:28 +0900 Subject: toggle_comments needs to append to history. --- helix-term/src/commands.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'helix-term/src') diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index 6165c4c1..97edaf66 100644 --- a/helix-term/src/commands.rs +++ b/helix-term/src/commands.rs @@ -1475,6 +1475,7 @@ pub fn toggle_comments(cx: &mut Context) { let transaction = comment::toggle_line_comments(doc.text(), doc.selection()); doc.apply(&transaction); + doc.append_changes_to_history(); } // tree sitter node selection -- cgit v1.2.3-70-g09d2