fix: Correct module paths and conditional compilation for magic feature
Co-authored-by: aider (openai/andrew/openrouter/sonoma-sky-alpha) <aider@aider.chat>
This commit is contained in:
@@ -29,7 +29,9 @@ use filter_plugin::{
|
||||
// Import all meta plugins to ensure they register themselves
|
||||
#[allow(unused_imports)]
|
||||
use meta_plugin::{
|
||||
magic_file, cwd, text, user, shell, shell_pid, keep_pid, digest,
|
||||
#[cfg(feature = "magic")]
|
||||
magic_file,
|
||||
cwd, text, user, shell, shell_pid, keep_pid, digest,
|
||||
read_time, read_rate, hostname, exec, env
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user