From 87bbad5e8cf109794af529ea01527a1d5b7b0c2b Mon Sep 17 00:00:00 2001 From: HolonProduction Date: Fri, 10 Oct 2025 15:43:48 +0200 Subject: [PATCH] LSP: Fix goto native declaration --- modules/gdscript/language_server/gdscript_text_document.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gdscript/language_server/gdscript_text_document.cpp b/modules/gdscript/language_server/gdscript_text_document.cpp index 3cecb4a4ccc..1d985df41cf 100644 --- a/modules/gdscript/language_server/gdscript_text_document.cpp +++ b/modules/gdscript/language_server/gdscript_text_document.cpp @@ -496,8 +496,8 @@ Array GDScriptTextDocument::find_symbols(const LSP::TextDocumentPositionParams & if (file_checker->file_exists(path)) { arr.push_back(location.to_json()); } - r_list.push_back(symbol); } + r_list.push_back(symbol); } else if (GDScriptLanguageProtocol::get_singleton()->is_smart_resolve_enabled()) { List list; GDScriptLanguageProtocol::get_singleton()->get_workspace()->resolve_related_symbols(p_location, list);