Merge #6106 from justinmk/health.vim

health.vim: Reduce visual noise.
This commit is contained in:
Justin M. Keyes 2017-02-13 02:33:50 +01:00 committed by GitHub
commit b5965bbd24
2 changed files with 4 additions and 10 deletions

View File

@ -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

View File

@ -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)