Skip to content

Commit 2ac4738

Browse files
committed
rename: do not attempt to install gorename
gorename has been removed from golang.org/x/tools/cmd, so remove it from the set of tools installed by vim-go. Fixes #3696
1 parent 1f12d1f commit 2ac4738

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

doc/vim-go.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ CTRL-t
601601
Changes the build tags for various commands. If you have any file that
602602
uses a custom build tag, such as `// +build integration`, this command
603603
can be used to pass it to all tools that accepts tags, such as gopls,
604-
gorename, etc.
604+
go test, etc.
605605

606606
The build tags is cleared (unset) if `""` is given. If no arguments are
607607
given it prints the current build tags.

plugin/go.vim

-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ let s:packages = {
5151
\ 'golangci-lint': ['github.com/golangci/golangci-lint/cmd/golangci-lint@latest'],
5252
\ 'staticcheck': ['honnef.co/go/tools/cmd/staticcheck@latest'],
5353
\ 'gomodifytags': ['github.com/fatih/gomodifytags@latest'],
54-
\ 'gorename': ['golang.org/x/tools/cmd/gorename@master'],
5554
\ 'gotags': ['github.com/jstemmer/gotags@master'],
5655
\ 'impl': ['github.com/josharian/impl@main'],
5756
\ 'motion': ['github.com/fatih/motion@latest'],

0 commit comments

Comments
 (0)