Move command palette filter into collections crate

Filter out copilot commands from command palette when not active
This commit is contained in:
Mikayla Maki 2023-03-28 20:13:17 -07:00
parent aea8475d30
commit 0b0c7e4ce9
7 changed files with 76 additions and 51 deletions

View file

@ -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>,
}