Skip to content

Commit 554ebac

Browse files
committed
lsp: fix fillstruct code action
1 parent 44a3abd commit 554ebac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/go/lsp.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1663,7 +1663,7 @@ function! go#lsp#FillStruct() abort
16631663
let l:lsp = s:lspfactory.get()
16641664

16651665
let l:state = s:newHandlerState('')
1666-
let l:handler = go#promise#New(function('s:handleCodeAction', ['refactor.rewrite', 'apply_fix', 'fillstruct'], l:state), 10000, '')
1666+
let l:handler = go#promise#New(function('s:handleCodeAction', ['refactor.rewrite.fillStruct', 'apply_fix', 'fillstruct'], l:state), 10000, '')
16671667
let l:state.handleResult = l:handler.wrapper
16681668
let l:state.error = l:handler.wrapper
16691669
let l:state.handleError = function('s:handleCodeActionError', [l:fname], l:state)

0 commit comments

Comments
 (0)