refactor: remove default column from meta plugin status table and simplify default logic
Co-authored-by: aider (openai/andrew.openrouter.qwen.qwen3-coder) <aider@aider.chat>
This commit is contained in:
@@ -70,13 +70,7 @@ pub fn get_meta_plugin(meta_plugin_type: MetaPluginType) -> Box<dyn MetaPlugin>
|
||||
}
|
||||
|
||||
pub fn default_meta_plugin_type() -> MetaPluginType {
|
||||
let mut default = MetaPluginType::FileMagic;
|
||||
for meta_plugin_type in MetaPluginType::iter() {
|
||||
let meta_plugin = get_meta_plugin(meta_plugin_type.clone());
|
||||
if meta_plugin.is_supported() {
|
||||
default = meta_plugin_type;
|
||||
break;
|
||||
}
|
||||
}
|
||||
default
|
||||
// Default meta plugin functionality has been removed
|
||||
// This function returns a placeholder value
|
||||
MetaPluginType::FileMagic
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user