Skip to content

Commit

Permalink
Ignore empty element references
Browse files Browse the repository at this point in the history
  • Loading branch information
cooolbros committed Apr 26, 2024
1 parent df10d9d commit d72529b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/lib/server/VDF/VDFLanguageServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ export abstract class VDFLanguageServer extends LanguageServer<VDFDocumentSymbol
return null
})()

if (type != null) {
if (type != null && documentSymbol.detail != "") {
const definitionLocation = definitionReferences.get([type, documentSymbol.detail]).getDefinitionLocation()

if (!definitionLocation) {
Expand Down

0 comments on commit d72529b

Please sign in to comment.