diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-04-11 09:35:01 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-11 09:35:01 +0800 |
commit | c8d1d8b2546c5974f4ce75fc87f918bc8cfe8e56 (patch) | |
tree | f7b0f5dc7ecf2db1e9a68ad57f6f320a371833af /runtime/lua/man.lua | |
parent | 03a021f378e8ca019e36dc6a3248a63edf19f8ad (diff) | |
download | rneovim-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.lua | 1 |
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() |