aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/man.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-04-11 09:35:01 +0800
committerGitHub <noreply@github.com>2023-04-11 09:35:01 +0800
commitc8d1d8b2546c5974f4ce75fc87f918bc8cfe8e56 (patch)
treef7b0f5dc7ecf2db1e9a68ad57f6f320a371833af /runtime/lua/man.lua
parent03a021f378e8ca019e36dc6a3248a63edf19f8ad (diff)
downloadrneovim-c8d1d8b2546c5974f4ce75fc87f918bc8cfe8e56.tar.gz
rneovim-c8d1d8b2546c5974f4ce75fc87f918bc8cfe8e56.tar.bz2
rneovim-c8d1d8b2546c5974f4ce75fc87f918bc8cfe8e56.zip
fix(man.lua): don't continue on command error (#23009)
Fix #21169
Diffstat (limited to 'runtime/lua/man.lua')
-rw-r--r--runtime/lua/man.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/lua/man.lua b/runtime/lua/man.lua
index cca9434e9c..1158d80941 100644
--- 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()