diff options
Diffstat (limited to 'runtime/autoload/health.vim')
-rw-r--r-- | runtime/autoload/health.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/autoload/health.vim b/runtime/autoload/health.vim index 9e32067204..d13640540b 100644 --- a/runtime/autoload/health.vim +++ b/runtime/autoload/health.vim @@ -87,9 +87,9 @@ function! s:indent_after_line1(s, columns) abort return join(lines, "\n") endfunction -" Changes ':help clipboard' to '|clipoard|'. Also removes surrounding quotes. +" Changes ':h clipboard' to ':help |clipboard|'. function! s:help_to_link(s) abort - return substitute(a:s, '\v[''"]?:h%[elp] ([^''"]+)[''"]?', '|\1|', 'g') + return substitute(a:s, '\v[''"]?:h%[elp] ([^''"]+)[''"]?', '":help |\1|"', 'g') endfunction " Format a message for a specific report item |