diff --git a/src/finder/mod.rs b/src/finder/mod.rs index a1edee6..b952455 100644 --- a/src/finder/mod.rs +++ b/src/finder/mod.rs @@ -76,9 +76,8 @@ impl FinderChoice { if let Self::Fzf = self { if let Some((major, minor, patch)) = Self::check_fzf_version() { - if major == MIN_FZF_VERSION_MAJOR - && minor < MIN_FZF_VERSION_MINOR - && patch < MIN_FZF_VERSION_PATCH + if (major, minor, patch) + < (MIN_FZF_VERSION_MAJOR, MIN_FZF_VERSION_MINOR, MIN_FZF_VERSION_PATCH) { eprintln!( "Warning: Fzf version {major}.{minor} does not support the preview window layout used by navi.",