Skip to content
New issue

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

Remove support for GoKeyify #3665

Merged
merged 1 commit into from
Jun 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 0 additions & 64 deletions autoload/go/keyify.vim

This file was deleted.

15 changes: 0 additions & 15 deletions doc/vim-go.txt
Original file line number Diff line number Diff line change
Expand Up @@ -765,21 +765,6 @@ CTRL-t

Toggles |'g:go_template_autocreate'|.

*:GoKeyify*
:GoKeyify

Uses `keyify` to turn unkeyed struct literals into keyed ones.

For example:
>
Person{"John", "Smith"}
<
Becomes:
>
Person{
Name: "John",
Surname: "Smith",
}
<
*:GoFillStruct*
:GoFillStruct
Expand Down
5 changes: 0 additions & 5 deletions ftplugin/go/commands.vim
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,6 @@ command! -nargs=* -complete=customlist,go#impl#Complete GoImpl call go#impl#Impl
" -- template
command! -nargs=0 GoTemplateAutoCreateToggle call go#template#ToggleAutoCreate()

" -- keyify
if go#package#InGOPATH()
command! -nargs=0 GoKeyify call go#keyify#Keyify()
endif

" -- fillstruct
command! -nargs=0 GoFillStruct call go#fillstruct#FillStruct()

Expand Down
1 change: 0 additions & 1 deletion plugin/go.vim
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ let s:packages = {
\ 'gorename': ['golang.org/x/tools/cmd/gorename@master'],
\ 'gotags': ['github.com/jstemmer/gotags@master'],
\ 'impl': ['github.com/josharian/impl@main'],
\ 'keyify': ['honnef.co/go/tools/cmd/keyify@master'],
\ 'motion': ['github.com/fatih/motion@latest'],
\ 'iferr': ['github.com/koron/iferr@master'],
\ }
Expand Down
Loading