From 73a40833cf9b97b385a093c827ce5cf0305cd70b Mon Sep 17 00:00:00 2001 From: Billie Cleek Date: Thu, 26 Dec 2024 10:28:27 -0800 Subject: [PATCH] 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. --- doc/vim-go.txt | 2 +- plugin/go.vim | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/vim-go.txt b/doc/vim-go.txt index 64e67d0b30..a278bb1af0 100644 --- a/doc/vim-go.txt +++ b/doc/vim-go.txt @@ -601,7 +601,7 @@ CTRL-t Changes the build tags for various commands. If you have any file that uses a custom build tag, such as `// +build integration`, this command can be used to pass it to all tools that accepts tags, such as gopls, - gorename, etc. + go test, etc. The build tags is cleared (unset) if `""` is given. If no arguments are given it prints the current build tags. diff --git a/plugin/go.vim b/plugin/go.vim index 30651a9167..5cdfc47af3 100644 --- a/plugin/go.vim +++ b/plugin/go.vim @@ -51,7 +51,6 @@ let s:packages = { \ 'golangci-lint': ['github.com/golangci/golangci-lint/cmd/golangci-lint@latest'], \ 'staticcheck': ['honnef.co/go/tools/cmd/staticcheck@latest'], \ 'gomodifytags': ['github.com/fatih/gomodifytags@latest'], - \ 'gorename': ['golang.org/x/tools/cmd/gorename@master'], \ 'gotags': ['github.com/jstemmer/gotags@master'], \ 'impl': ['github.com/josharian/impl@main'], \ 'motion': ['github.com/fatih/motion@latest'],