From d570e89b4f965dbccf9636ca36fc391ec1cf469a Mon Sep 17 00:00:00 2001 From: DeepAnchor Date: Wed, 18 May 2016 09:51:52 -0700 Subject: [PATCH] Add non-standard workspaces to package path list Allows guru tools to work with gb, godep, etc --- autoload/go/package.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/go/package.vim b/autoload/go/package.vim index 9b5c64821a..4f756135a9 100644 --- a/autoload/go/package.vim +++ b/autoload/go/package.vim @@ -46,7 +46,7 @@ function! go#package#Paths() let dirs += [s:goroot] endif - let workspaces = split($GOPATH, go#util#PathListSep()) + let workspaces = split(go#path#Detect(), go#util#PathListSep()) if workspaces != [] let dirs += workspaces endif