Skip to content

Commit cc0f516

Browse files
committed
Add support for g:vim_node#node_path
1 parent 4b26392 commit cc0f516

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

autoload/node/lib.vim

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,11 @@ function! s:nodeModulePaths(start)
150150
let dirs += [NODE_PATH]
151151
endif
152152

153+
" Add support for configured NODE_PATH
154+
if !empty(g:vim_node#node_path)
155+
let dirs += g:vim_node#node_path
156+
endif
157+
153158
return dirs
154159
endfunction
155160

0 commit comments

Comments
 (0)