Skip to content

Commit c14a95e

Browse files
authored
Add DiagnosticTag constants from LSP 3.15 (#142)
1 parent ee7a52b commit c14a95e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pylsp/lsp.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ class DiagnosticSeverity:
4848
Hint = 4
4949

5050

51+
class DiagnosticTag:
52+
Unnecessary = 1
53+
Deprecated = 2
54+
55+
5156
class InsertTextFormat:
5257
PlainText = 1
5358
Snippet = 2

0 commit comments

Comments
 (0)