diff options
Diffstat (limited to 'runtime/autoload/man.vim')
| -rw-r--r-- | runtime/autoload/man.vim | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/runtime/autoload/man.vim b/runtime/autoload/man.vim index dbb46914a2..6fed4a54e3 100644 --- a/runtime/autoload/man.vim +++ b/runtime/autoload/man.vim @@ -106,7 +106,7 @@ function! s:system(cmd, ...) abort      throw printf('command interrupted: %s', join(a:cmd))    endif    if opts.exit_code != 0 -    throw printf("command error (%d) %s: %s", jobid, join(a:cmd), opts.stderr) +    throw printf("command error (%d) %s: %s", jobid, join(a:cmd), substitute(opts.stderr, '\_s\+$', '', &gdefault ? '' : 'g'))    endif    return opts.stdout | 
