Adds "title" to the Command in code actions

This fixes issue with some clients (see for example this
[kak-lsp issue](https://github.com/kak-lsp/kak-lsp/issues/669))
expecting to find a non empty string there to display.
pull/288/head
Cyril Dutrieux (cydu) 1 year ago
parent f7d4db07d6
commit 77c51d564d

@ -428,6 +428,7 @@ func NewServer(opts ServerOpts) *Server {
Title: actionTitle,
Kind: stringPtr(protocol.CodeActionKindRefactor),
Command: &protocol.Command{
Title: actionTitle,
Command: cmdNew,
Arguments: []interface{}{wd, jsonOpts},
},

Loading…
Cancel
Save