Skip to content

Commit 87bbad5

Browse files
LSP: Fix goto native declaration
1 parent 295e465 commit 87bbad5

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)