Skip to content

Commit

Permalink
Merge pull request #3665 from paskozdilar/master
Browse files Browse the repository at this point in the history
Remove support for GoKeyify
  • Loading branch information
bhcleek committed Jun 5, 2024
2 parents 5667405 + 0c1cb2e commit 8a5e824
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 85 deletions.
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

0 comments on commit 8a5e824

Please sign in to comment.