mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-04 11:27:46 +03:00
toggle_comments needs to append to history.
This commit is contained in:
parent
c331721565
commit
175d38c88c
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue