Limit the extension tasks in the modal to current language only (#10207)
Release Notes: - N/A
This commit is contained in:
parent
c851e6edba
commit
7b636d9774
9 changed files with 128 additions and 186 deletions
|
@ -18,7 +18,6 @@ pub use open_listener::*;
|
|||
use anyhow::Context as _;
|
||||
use assets::Assets;
|
||||
use futures::{channel::mpsc, select_biased, StreamExt};
|
||||
use language::LanguageSource;
|
||||
use project::TaskSourceKind;
|
||||
use project_panel::ProjectPanel;
|
||||
use quick_action_bar::QuickActionBar;
|
||||
|
@ -181,11 +180,6 @@ pub fn initialize_workspace(app_state: Arc<AppState>, cx: &mut AppContext) {
|
|||
},
|
||||
cx,
|
||||
);
|
||||
inventory.add_source(
|
||||
TaskSourceKind::Buffer,
|
||||
|cx| LanguageSource::new(app_state.languages.clone(), cx),
|
||||
cx,
|
||||
);
|
||||
})
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue