LSP: don't send empty completion command
(cherry picked from commit 5715d3eb59
)
This commit is contained in:
parent
35fa05fa51
commit
b2364048d2
@ -1005,8 +1005,10 @@ struct CompletionItem {
|
||||
if (commitCharacters.size()) {
|
||||
dict["commitCharacters"] = commitCharacters;
|
||||
}
|
||||
if (!command.command.is_empty()) {
|
||||
dict["command"] = command.to_json();
|
||||
}
|
||||
}
|
||||
return dict;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user