We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
fzf --version
1 parent c40c451 commit dd1aa78Copy full SHA for dd1aa78
lua/fzf-lua/_health.lua
@@ -72,8 +72,10 @@ function M.check()
72
end
73
74
if vim.fn.executable("fzf") == 1 then
75
- local version = utils.fzf_version()
76
- if version[1] < 1 and version[2] < 53 then
+ local version, rc, err = utils.fzf_version()
+ if not version then
77
+ error(string.format("'fzf --version' failed with error %s: %s", rc, err))
78
+ elseif version[1] < 1 and version[2] < 53 then
79
warn("'fzf' `>= 0.53` is recommended.")
80
81
0 commit comments