Skip to content

Commit

Permalink
Merge pull request #1046 from mattn/v8.0
Browse files Browse the repository at this point in the history
fix check v:version for vim 8.0
  • Loading branch information
fatih authored Sep 13, 2016
2 parents 8575d9e + 168c4a4 commit 417fd0c
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 @@ -151,7 +151,7 @@ function! go#path#CheckBinPath(binpath)

" if it's in PATH just return it
if executable(binpath)
if v:version == 704 && has('patch235')
if exists('*exepath')
let binpath = exepath(binpath)
endif
let $PATH = old_path
Expand Down

0 comments on commit 417fd0c

Please sign in to comment.