fix(man.lua): don't continue on command error (#23009)

Fix #21169
This commit is contained in:
zeertzjq 2023-04-11 09:35:01 +08:00 committed by GitHub
parent 03a021f378
commit c8d1d8b254
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,6 +64,7 @@ local function system(cmd_, silent, env)
local cmd_str = table.concat(cmd, ' ')
man_error(string.format('command error: %s', cmd_str))
end
return ''
end
vim.wait(30000, function()