diff options
author | Marco Hinz <mh.codebro@gmail.com> | 2016-12-05 13:01:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-05 13:01:47 +0100 |
commit | 7666b4950ebcd13ef0428ee12201562bc77d51b0 (patch) | |
tree | 930a4fdd27ddcc4da82050682bfd067b9aa5a189 | |
parent | 8089292472df5256881d71d439e48cf5858733e5 (diff) | |
download | rneovim-7666b4950ebcd13ef0428ee12201562bc77d51b0.tar.gz rneovim-7666b4950ebcd13ef0428ee12201562bc77d51b0.tar.bz2 rneovim-7666b4950ebcd13ef0428ee12201562bc77d51b0.zip |
Health: show :help + tags (#5719)
-rw-r--r-- | runtime/autoload/health.vim | 4 | ||||
-rw-r--r-- | runtime/autoload/health/provider.vim | 2 |
2 files changed, 3 insertions, 3 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 diff --git a/runtime/autoload/health/provider.vim b/runtime/autoload/health/provider.vim index d3e1fef483..c16f62cf59 100644 --- a/runtime/autoload/health/provider.vim +++ b/runtime/autoload/health/provider.vim @@ -108,7 +108,7 @@ function! s:check_clipboard() abort if empty(clipboard_tool) call health#report_warn( \ "No clipboard tool found. Using the system clipboard won't work.", - \ ['See |clipboard|.']) + \ ['See ":help clipboard".']) else call health#report_ok('Clipboard tool found: '. clipboard_tool) endif |