From 5d04c940196baeebdb9fb66169e788de0372dc6f Mon Sep 17 00:00:00 2001 From: sxyazi Date: Wed, 15 Apr 2026 22:11:22 +0800 Subject: [PATCH] .. --- yazi-config/src/plugin/plugin.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yazi-config/src/plugin/plugin.rs b/yazi-config/src/plugin/plugin.rs index b73e4180..8d38870f 100644 --- a/yazi-config/src/plugin/plugin.rs +++ b/yazi-config/src/plugin/plugin.rs @@ -49,7 +49,7 @@ impl DeserializeOverHook for Plugin { if fetchers.len() > MAX_FETCHERS as usize { Err(de::Error::custom(format!("Fetchers exceed the limit of {MAX_FETCHERS}")))?; } else if preloaders.len() > MAX_PRELOADERS as usize { - Err(de::Error::custom(format!("Preloaders exceed the limit of {MAX_FETCHERS}")))?; + Err(de::Error::custom(format!("Preloaders exceed the limit of {MAX_PRELOADERS}")))?; } for (i, p) in fetchers.iter_mut().enumerate() {