We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting :GoBuildTags integration does not cause ":GoDef" to correctly find a definition that is in a tagged file.
:GoBuildTags integration
Write here what's happening and what you're expecting instead of...
A.go
testutils
// +build integration unit
B_test.go
myapp
// +build integration
:GoDef
Expected: Jump to function definition in A.go Actual: red message at the bottom saying "vim-go: "
vimrc
The text was updated successfully, but these errors were encountered:
def: fix passing build tags to guru
150b2cc
It was using a deprecated flag. Fixes #1312
Hi @tgrosinger
Thanks for the report. It's now fixed with: #1319
Be sure you use guru for the :GoDef command as godef doesn't have support for build tags:
guru
godef
let g:go_def_mode = "guru"
Thanks
Sorry, something went wrong.
Works for me! Thank you.
No branches or pull requests
Behavior
Setting
:GoBuildTags integration
does not cause ":GoDef" to correctly find a definition that is in a tagged file.Write here what's happening and what you're expecting instead of...
Steps to reproduce:
A.go
in packagetestutils
with// +build integration unit
at the top. Create a function in this file.B_test.go
in packagemyapp
with// +build integration
at the top. In it, create a function with a call to the function in file A.goB_test.go
, and run:GoDef
Expected: Jump to function definition in
A.go
Actual: red message at the bottom saying "vim-go: "
Configuration
vimrc
you used to reproduce: https://github.com/tgrosinger/dotfiles/blob/master/.vimrcThe text was updated successfully, but these errors were encountered: