Skip to content

Commit 0af4119

Browse files
authored
fix: support workspace symbol excludeLibrarySymbols config in ts-plugin (#2674)
1 parent 9b44c6d commit 0af4119

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

packages/typescript-plugin/src/language-service/navigate-to-items.ts

+2-12
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,8 @@ export function decorateNavigateToItems(
77
snapshotManager: SvelteSnapshotManager
88
): void {
99
const getNavigateToItems = ls.getNavigateToItems;
10-
ls.getNavigateToItems = (
11-
searchValue: string,
12-
maxResultCount?: number,
13-
fileName?: string,
14-
excludeDtsFiles?: boolean
15-
) => {
16-
const navigationToItems = getNavigateToItems(
17-
searchValue,
18-
maxResultCount,
19-
fileName,
20-
excludeDtsFiles
21-
);
10+
ls.getNavigateToItems = (...args) => {
11+
const navigationToItems = getNavigateToItems(...args);
2212

2313
return navigationToItems
2414
.map((item) => {

0 commit comments

Comments
 (0)