Skip to content

Commit 03ae868

Browse files
committed
Merge pull request godotengine#111478 from HolonProduction/lsp-decl-fix
LSP: Fix goto native declaration
2 parents 70a2ce9 + 87bbad5 commit 03ae868

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/gdscript/language_server/gdscript_text_document.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,8 +496,8 @@ Array GDScriptTextDocument::find_symbols(const LSP::TextDocumentPositionParams &
496496
if (file_checker->file_exists(path)) {
497497
arr.push_back(location.to_json());
498498
}
499-
r_list.push_back(symbol);
500499
}
500+
r_list.push_back(symbol);
501501
} else if (GDScriptLanguageProtocol::get_singleton()->is_smart_resolve_enabled()) {
502502
List<const LSP::DocumentSymbol *> list;
503503
GDScriptLanguageProtocol::get_singleton()->get_workspace()->resolve_related_symbols(p_location, list);

0 commit comments

Comments
 (0)