Skip to content

Commit c7bc6c3

Browse files
Remove error handler
1 parent 25ee9d3 commit c7bc6c3

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/extension.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -274,10 +274,7 @@ export function activate(context: ExtensionContext) {
274274
languageClient.protocol2CodeConverter.asCodeLenses(a);
275275
displayCodeLens(document, result);
276276
return [];
277-
},
278-
(reason) => {
279-
console.log(JSON.stringify(reason));
280-
});
277+
});
281278
};
282279

283280
// Options to control the language client
@@ -660,7 +657,7 @@ export function activate(context: ExtensionContext) {
660657
for (let type of
661658
['types', 'freeStandingFunctions', 'memberFunctions',
662659
'freeStandingVariables', 'memberVariables', 'namespaces',
663-
'macros', 'enums', 'typeAliases', 'enumConstants',
660+
'macros', 'enums', 'typeAliases', 'enumConstants',
664661
'staticMemberFunctions', 'parameters',
665662
'staticMemberVariables']) {
666663
semanticDecorations.set(type, makeDecorations(type));
@@ -686,7 +683,7 @@ export function activate(context: ExtensionContext) {
686683
return decorations[symbol.stableId % decorations.length];
687684
};
688685

689-
if (symbol.kind == SemanticSymbolKind.Class ||
686+
if (symbol.kind == SemanticSymbolKind.Class ||
690687
symbol.kind == SemanticSymbolKind.Struct ||
691688
symbol.kind == SemanticSymbolKind.Union) {
692689
return get('types');

0 commit comments

Comments
 (0)