Skip to content

Commit b986cae

Browse files
committed
Fix CallStack popups
1 parent 062f665 commit b986cae

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/TextMate.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ function getInjections(scopeName: ScopeName): ScopeName[] | undefined {
155155
}
156156

157157
if (injections.length) {
158-
vscode.window.showInformationMessage(`injections:\n${JSON.stringify(injections)}`);
158+
// vscode.window.showInformationMessage(`injections:\n${JSON.stringify(injections)}`);
159159
return injections;
160160
}
161161
}

src/extension.ts

+3
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ export function stringify(this: any, key: string, value: any) {
8585
return null;
8686
}
8787
if (value instanceof Map) {
88+
if (key == "_grammars") {
89+
return Array.from(value.keys());
90+
}
8891
return Array.from(value.entries());
8992
}
9093
if (key.startsWith("HEAP")) {

0 commit comments

Comments
 (0)