Skip to content

Commit

Permalink
return code action kind requested with one that is resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
jpogran committed Oct 18, 2021
1 parent 132e82d commit bd380a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/langserver/handlers/code_action.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func (h *logHandler) textDocumentCodeAction(ctx context.Context, params lsp.Code

ca = append(ca, lsp.CodeAction{
Title: "Format Document",
Kind: lsp.SourceFixAll,
Kind: action,
Edit: lsp.WorkspaceEdit{
Changes: map[string][]lsp.TextEdit{
string(fh.URI()): edits,
Expand Down

0 comments on commit bd380a5

Please sign in to comment.