From a656d11fed2d1aab6072c30dedca1129b2bd24d7 Mon Sep 17 00:00:00 2001 From: Conrad Irwin Date: Tue, 12 Dec 2023 18:39:42 -0700 Subject: [PATCH] Fix vim2 search tests --- crates/editor2/src/editor.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/crates/editor2/src/editor.rs b/crates/editor2/src/editor.rs index b2040aff5be16fecbd3a1c818dc78478601a0c19..76085aeca854be6dbfc5954052289ac810a3753b 100644 --- a/crates/editor2/src/editor.rs +++ b/crates/editor2/src/editor.rs @@ -2171,7 +2171,6 @@ impl Editor { self.blink_manager.update(cx, BlinkManager::pause_blinking); cx.emit(EditorEvent::SelectionsChanged { local }); - cx.emit(SearchEvent::MatchesInvalidated); if self.selections.disjoint_anchors().len() == 1 { cx.emit(SearchEvent::ActiveMatchChanged)