mirror of
https://github.com/godotengine/godot.git
synced 2025-10-15 02:49:24 +00:00
LSP: don't send empty completion command
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user