diff --git a/src/server/languageProvider.ts b/src/server/languageProvider.ts index 74dbb3f..d65f41c 100644 --- a/src/server/languageProvider.ts +++ b/src/server/languageProvider.ts @@ -331,7 +331,7 @@ export default class LanguageProvider { this.client.diagnosticsManager.diagnosticsReceived(diagnosticsKind, file.toString(), diagnostics.filter(diag => { if (!reportUnnecessary) { diag.tags = undefined - if (diag.reportUnnecessary && diag.severity === DiagnosticSeverity.Hint) { + if (diag.reportUnnecessary && diag.severity === DiagnosticSeverity.Information) { return false } }