File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ if !isdirectory(s:pluginDir)
39
39
echom " > the vim IDE for web dev <"
40
40
echom " "
41
41
echom " Checking dependencies :"
42
- if ! executable (' node' ) || ! executable (' npm' )
42
+ if ( ! executable (' node' ) && ! executable ( ' nodejs ' ) ) || ! executable (' npm' )
43
43
echom " [ERR] node.js and npm are required, please install them before continuing."
44
44
echom " "
45
45
else
@@ -65,6 +65,7 @@ if !isdirectory(s:pluginDir)
65
65
" Install plugins on first run
66
66
autocmd VimEnter * PlugInstall
67
67
endif
68
+
68
69
else
69
70
70
71
" Loads the global config, mapping and settings
80
81
81
82
" user configuration
82
83
if filereadable (s: userConfig )
83
- exec " :source " .s: userConfig
84
+ " exec ":source ".s:userConfig
84
85
endif
85
86
86
87
endif
You can’t perform that action at this time.
0 commit comments