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 10:01:01 +02:00 committed by GitHub
parent ece1818301
commit bb3aef15eb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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);