Reset buffer language on buffer search redeploy (#25797)

Closes https://github.com/zed-industries/zed/issues/25792

Release Notes:

- Fixed search input regex highlight not going away after redeploy
This commit is contained in:
Kirill Bulatov
2025-02-28 08:01:01 +00:00
committed by GitHub
parent ece1818301
commit bb3aef15eb
+1
View File
@@ -820,6 +820,7 @@ impl BufferSearchBar {
}
self.dismissed = false;
self.adjust_query_regex_language(cx);
handle.search_bar_visibility_changed(true, window, cx);
cx.notify();
cx.emit(Event::UpdateLocation);