Move command palette filter into collections crate
Filter out copilot commands from command palette when not active
This commit is contained in:
parent
aea8475d30
commit
0b0c7e4ce9
7 changed files with 76 additions and 51 deletions
|
@ -24,3 +24,10 @@ pub type HashMap<K, V> = std::collections::HashMap<K, V>;
|
|||
pub type HashSet<T> = std::collections::HashSet<T>;
|
||||
|
||||
pub use std::collections::*;
|
||||
|
||||
// NEW TYPES
|
||||
|
||||
#[derive(Default)]
|
||||
pub struct CommandPaletteFilter {
|
||||
pub filtered_namespaces: HashSet<&'static str>,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue