Skip to content

Commit 404dca6

Browse files
authored
Merge pull request #1319 from fatih/fix-def-tags
def: fix passing build tags to guru
2 parents 16e0ccf + 150b2cc commit 404dca6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

autoload/go/def.vim

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ function! go#def#Jump(mode) abort
4646
call add(cmd, "-modified")
4747
endif
4848

49-
if exists('g:go_guru_tags')
50-
let tags = get(g:, 'go_guru_tags')
49+
if exists('g:go_build_tags')
50+
let tags = get(g:, 'go_build_tags')
5151
call extend(cmd, ["-tags", tags])
5252
endif
5353

0 commit comments

Comments
 (0)