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)
3939 echom " > the vim IDE for web dev <"
4040 echom " "
4141 echom " Checking dependencies :"
42- if ! executable (' node' ) || ! executable (' npm' )
42+ if ( ! executable (' node' ) && ! executable ( ' nodejs ' ) ) || ! executable (' npm' )
4343 echom " [ERR] node.js and npm are required, please install them before continuing."
4444 echom " "
4545 else
@@ -65,6 +65,7 @@ if !isdirectory(s:pluginDir)
6565 " Install plugins on first run
6666 autocmd VimEnter * PlugInstall
6767 endif
68+
6869else
6970
7071 " Loads the global config, mapping and settings
8081
8182 " user configuration
8283 if filereadable (s: userConfig )
83- exec " :source " .s: userConfig
84+ " exec ":source ".s:userConfig
8485 endif
8586
8687endif
You can’t perform that action at this time.
0 commit comments