Skip to content

Commit 7be59e7

Browse files
committed
Fix for bad document symbol pushing
Signed-off-by: Liam Barry Allan <[email protected]>
1 parent 2069779 commit 7be59e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/providers/documentSymbols.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export default async function documentSymbolProvider(handler: DocumentSymbolPara
4242
procDef.children.push(...getScopeVars(proc.scope));
4343
}
4444

45-
symbols.push(procDef);
45+
currentScopeDefs.push(procDef);
4646
});
4747

4848
currentScopeDefs.push(

0 commit comments

Comments
 (0)