From d6a4553e01f88fe26faa4a799a96b06bf85abc7f Mon Sep 17 00:00:00 2001 From: "Eduardo Antunes C. de Sousa" Date: Fri, 24 Jul 2015 18:14:53 -0300 Subject: [PATCH] Fixed goto netrw file issue --- autoload/node.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/autoload/node.vim b/autoload/node.vim index 3954e4c..4536525 100644 --- a/autoload/node.vim +++ b/autoload/node.vim @@ -54,6 +54,8 @@ function! s:edit(name, from, ...) " If just a plain filename with no directory part, check if it exists: if a:name !~# '^\v(/|\./|\.\./)' && filereadable(dir . "/" . a:name) let path = dir . "/" . a:name + elseif a:name =~# '^\w\+:\/\/' + let path = a:name else let path = node#lib#find(a:name, dir) end