provider/nodejs: check version in Detect()

This commit is contained in:
Justin M. Keyes
2017-12-17 15:53:11 +01:00
parent e0054fef7d
commit 103ff26c0a
6 changed files with 42 additions and 28 deletions

View File

@@ -9,9 +9,7 @@ local retry = helpers.retry
do
clear()
if missing_provider('node') then
pending(
"Cannot find the neovim nodejs host. Try :checkhealth",
function() end)
pending("Missing nodejs host, or nodejs version is too old.", function()end)
return
end
end