mirror of
https://github.com/godotengine/godot.git
synced 2024-09-21 15:02:28 +00:00
Make LSP ignore $/ messages
Fixes #38814
(cherry picked from commit 9c273307d8
)
This commit is contained in:
parent
28be48fb67
commit
d0eedd4c23
|
@ -98,6 +98,10 @@ Variant JSONRPC::process_action(const Variant &p_action, bool p_process_arr_elem
|
|||
if (p_action.get_type() == Variant::DICTIONARY) {
|
||||
Dictionary dict = p_action;
|
||||
String method = dict.get("method", "");
|
||||
if (method.begins_with("$/")) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
Array args;
|
||||
if (dict.has("params")) {
|
||||
Variant params = dict.get("params", Variant());
|
||||
|
|
Loading…
Reference in New Issue
Block a user