Skip to content

Commit

Permalink
path: fix the previous fix, which was wrong in the first place
Browse files Browse the repository at this point in the history
I shouldn't commit in the night :)
  • Loading branch information
fatih committed Jan 22, 2016
1 parent b82f9e1 commit 1beac4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/go/path.vim
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function! go#path#Detect()
" gb vendor plugin
" (https://github.com/constabulary/gb/tree/master/cmd/gb-vendor)
let gb_vendor_root = src_path . "vendor" . go#util#PathSep()
if !isdirectory(gb_vendor_root) && !go#path#HasPath(gb_vendor_root)
if isdirectory(gb_vendor_root) && !go#path#HasPath(gb_vendor_root)
let gopath = gb_vendor_root . go#util#PathListSep() . gopath
endif

Expand Down

0 comments on commit 1beac4a

Please sign in to comment.