Skip to content
This repository was archived by the owner on Oct 11, 2018. It is now read-only.

Commit 0bcd2cc

Browse files
GoGuruTags is now GoBuildTags
Correct documents to reflect up-to-date commands.
1 parent 9548f46 commit 0bcd2cc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1851,25 +1851,25 @@ In this case, guru will fail as the underlying `go/build` package will be not
18511851
able to build the package. So all `guru` related commands will fail (even
18521852
`:GoDef` when it uses `guru`). Fortunately `guru` has a `-tags` flag that
18531853
allows us to pass custom tags. To make it easy for `vim-go` users we have a
1854-
`:GoGuruTags`
1854+
`:GoBuildTags`
18551855

18561856
For the example just call the following:
18571857

18581858
```
1859-
:GoGuruTags mycustomtag
1859+
:GoBuildTags mycustomtag
18601860
```
18611861

18621862
This will pass this tag to `guru` and from now on it'll work as expected. And
18631863
just like `:GoGuruScope`, you can clear it with:
18641864

18651865
```
1866-
:GoGuruTags ""
1866+
:GoBuildTags ""
18671867
```
18681868

18691869
And finally if you wish you can make it permanent with the following setting:
18701870

18711871
```
1872-
let g:go_guru_tags = "mycustomtag"
1872+
let g:go_build_tags = "mycustomtag"
18731873
```
18741874

18751875
# Refactor it

0 commit comments

Comments
 (0)