Skip to content

Commit

Permalink
Merge pull request #76790 from achernik/master
Browse files Browse the repository at this point in the history
LSP: don't send empty completion command
  • Loading branch information
akien-mga committed May 9, 2023
2 parents ccf8029 + 5715d3e commit c2ba89d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/gdscript/language_server/godot_lsp.h
Original file line number Diff line number Diff line change
Expand Up @@ -1005,7 +1005,9 @@ struct CompletionItem {
if (commitCharacters.size()) {
dict["commitCharacters"] = commitCharacters;
}
dict["command"] = command.to_json();
if (!command.command.is_empty()) {
dict["command"] = command.to_json();
}
}
return dict;
}
Expand Down

0 comments on commit c2ba89d

Please sign in to comment.