aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/ui
diff options
context:
space:
mode:
authorPascal Kuthe2023-03-02 18:08:47 +0000
committerBlaž Hrastnik2023-03-09 04:01:02 +0000
commit4300a3ad058ea383a59a0a90f31a597eb264a7d4 (patch)
treece0814033daec73c8e6839b72d05ba2e06047b2b /helix-term/src/ui
parentbc23e548050570d297f263c5f0204af1d2210830 (diff)
create savepoint before requesting completion
Diffstat (limited to 'helix-term/src/ui')
-rw-r--r--helix-term/src/ui/editor.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/helix-term/src/ui/editor.rs b/helix-term/src/ui/editor.rs
index 59f371bd..2ea1b714 100644
--- a/helix-term/src/ui/editor.rs
+++ b/helix-term/src/ui/editor.rs
@@ -957,9 +957,6 @@ impl EditorView {
return;
}
- // Immediately initialize a savepoint
- doc_mut!(editor).savepoint();
-
editor.last_completion = None;
self.last_insert.1.push(InsertEvent::TriggerCompletion);