commit c8d1d8b2546c5974f4ce75fc87f918bc8cfe8e56
parent 03a021f378e8ca019e36dc6a3248a63edf19f8ad
Author: zeertzjq <zeertzjq@outlook.com>
Date: Tue, 11 Apr 2023 09:35:01 +0800
fix(man.lua): don't continue on command error (#23009)
Fix #21169
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/runtime/lua/man.lua b/runtime/lua/man.lua
@@ -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()