Filter out other languages' tasks from the task modal (#10839)

Release Notes:

- Fixed tasks modal showing history from languages, not matching the
currently active buffer's one
This commit is contained in:
Kirill Bulatov 2024-04-22 12:36:26 +03:00 committed by GitHub
parent a0fa8a489b
commit dd41c10099
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 209 additions and 5 deletions

View file

@ -470,6 +470,7 @@ mod tests {
pub(crate) fn init_test(cx: &mut TestAppContext) -> Arc<AppState> {
cx.update(|cx| {
let state = AppState::test(cx);
file_icons::init((), cx);
language::init(cx);
crate::init(cx);
editor::init(cx);