mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 03:48:18 +00:00
fix(man.lua): don't continue on command error
Fix #21169
(cherry picked from commit 43648ebb69
)
This commit is contained in:

committed by
github-actions[bot]
![github-actions[bot]](/assets/img/avatar_default.png)
parent
00a1a9327e
commit
14e3936871
@@ -64,6 +64,7 @@ local function system(cmd_, silent, env)
|
|||||||
local cmd_str = table.concat(cmd, ' ')
|
local cmd_str = table.concat(cmd, ' ')
|
||||||
man_error(string.format('command error: %s', cmd_str))
|
man_error(string.format('command error: %s', cmd_str))
|
||||||
end
|
end
|
||||||
|
return ''
|
||||||
end
|
end
|
||||||
|
|
||||||
vim.wait(30000, function()
|
vim.wait(30000, function()
|
||||||
|
Reference in New Issue
Block a user