diff --git a/blueprintcompiler/lsp.py b/blueprintcompiler/lsp.py index 903bfb7..25705d1 100644 --- a/blueprintcompiler/lsp.py +++ b/blueprintcompiler/lsp.py @@ -472,7 +472,7 @@ class LanguageServer: ), } - if isinstance(err, DeprecationWarning): + if isinstance(err, DeprecatedWarning): result["tags"] = [DiagnosticTag.Deprecated] if isinstance(err, UnusedWarning):