aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-02-13 02:33:50 +0100
committerGitHub <noreply@github.com>2017-02-13 02:33:50 +0100
commitb5965bbd24e8c01746aae8d3abf852e79125384f (patch)
tree1f33f353db133bbda9e693e956f12e346e3cc7e9
parent770d60d9049cbc34aee1973d838d33c2945c1c76 (diff)
parentf50de5be41a65d44fc1f59c0cb1d4d33afb4da21 (diff)
downloadrneovim-b5965bbd24e8c01746aae8d3abf852e79125384f.tar.gz
rneovim-b5965bbd24e8c01746aae8d3abf852e79125384f.tar.bz2
rneovim-b5965bbd24e8c01746aae8d3abf852e79125384f.zip
Merge #6106 from justinmk/health.vim
health.vim: Reduce visual noise.
-rw-r--r--runtime/autoload/health.vim10
-rw-r--r--runtime/autoload/health/provider.vim4
2 files changed, 4 insertions, 10 deletions
diff --git a/runtime/autoload/health.vim b/runtime/autoload/health.vim
index 93ca4dfc54..b0791eb19d 100644
--- a/runtime/autoload/health.vim
+++ b/runtime/autoload/health.vim
@@ -9,17 +9,9 @@ function! s:enhance_syntax() abort
\ containedin=markdownCodeBlock,mkdListItemLine
highlight link healthWarning WarningMsg
- syntax keyword healthInfo INFO
- \ containedin=markdownCodeBlock,mkdListItemLine
- highlight link healthInfo ModeMsg
-
syntax keyword healthSuccess SUCCESS
\ containedin=markdownCodeBlock,mkdListItemLine
- highlight link healthSuccess ModeMsg
-
- syntax keyword healthSuggestion SUGGESTIONS
- \ containedin=markdownCodeBlock,mkdListItemLine
- highlight link healthSuggestion String
+ highlight healthSuccess guibg=#5fff00 guifg=#080808 ctermbg=82 ctermfg=232
syntax match healthHelp "|.\{-}|" contains=healthBar
\ containedin=markdownCodeBlock,mkdListItemLine
diff --git a/runtime/autoload/health/provider.vim b/runtime/autoload/health/provider.vim
index 61ab957829..bc6b2c074c 100644
--- a/runtime/autoload/health/provider.vim
+++ b/runtime/autoload/health/provider.vim
@@ -420,7 +420,9 @@ function! s:check_ruby() abort
let host = provider#ruby#Detect()
if empty(host)
call health#report_warn('Missing "neovim" gem.',
- \ ['Run in shell: gem install neovim'])
+ \ ['Run in shell: gem install neovim',
+ \ 'Is the gem bin directory in $PATH? Check `gem environment`.',
+ \ 'If you are using rvm/rbenv/chruby, try "rehashing".'])
return
endif
call health#report_info('Host: '. host)