mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 14:38:32 +00:00
test: cherry-pick improvements from master branch
Partial cherry-pick of b3686b1597
.
* test/functional/provider: display reason from missing_provider
* provider#node#Detect: skip / handle non-existing node executable
This commit is contained in:

committed by
Justin M. Keyes

parent
1b2666cd21
commit
23a64c95d8
@@ -51,6 +51,9 @@ function! provider#node#Detect() abort
|
||||
if exists('g:node_host_prog')
|
||||
return expand(g:node_host_prog)
|
||||
endif
|
||||
if !executable('node')
|
||||
return ''
|
||||
endif
|
||||
if !s:is_minimum_version(v:null, 6, 0)
|
||||
return ''
|
||||
endif
|
||||
|
Reference in New Issue
Block a user