Skip to content

Commit

Permalink
def: fix passing build tags to guru
Browse files Browse the repository at this point in the history
It was using a deprecated flag.

Fixes #1312
  • Loading branch information
fatih committed Jun 6, 2017
1 parent 16e0ccf commit 150b2cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autoload/go/def.vim
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ function! go#def#Jump(mode) abort
call add(cmd, "-modified")
endif

if exists('g:go_guru_tags')
let tags = get(g:, 'go_guru_tags')
if exists('g:go_build_tags')
let tags = get(g:, 'go_build_tags')
call extend(cmd, ["-tags", tags])
endif

Expand Down

0 comments on commit 150b2cc

Please sign in to comment.