Skip to content

Commit

Permalink
Simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
rvanasa committed Aug 14, 2023
1 parent 7e3162b commit 73bc5dc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/server/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1218,9 +1218,7 @@ connection.onWorkspaceSymbol((event) => {
visitDocumentSymbol(status.uri, getDocumentSymbol(field));
});
});
return results.filter((s) =>
s.name.toLowerCase().includes(event.query.toLowerCase()),
);
return results;
});

connection.onDocumentSymbol((event) => {
Expand Down

0 comments on commit 73bc5dc

Please sign in to comment.