checkhealth: fix nodejs provider advice (#8522)

closes #8515
This commit is contained in:
Colin Yates 2018-06-10 19:09:10 +01:00 committed by Justin M. Keyes
parent dc5fdbc758
commit c69ea3b4b8

View File

@ -557,7 +557,7 @@ function! s:check_node() abort
call health#report_warn(
\ printf('Package "neovim" is out-of-date. Installed: %s, latest: %s',
\ current_npm, latest_npm),
\ ['Run in shell: npm update neovim'])
\ ['Run in shell: npm install -g neovim'])
else
call health#report_ok('Latest "neovim" npm package is installed: '. current_npm)
endif