Skip to content

Commit

Permalink
change TraceValue from Enum to StrEnum
Browse files Browse the repository at this point in the history
  • Loading branch information
predragnikolic committed Jul 2, 2024
1 parent f48ed1a commit 0da4d7c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
'SemanticTokenModifiers': 'StrEnum',
'SemanticTokenTypes': 'StrEnum',
'TokenFormat': 'StrEnum',
'TraceValues': 'StrEnum',
'TraceValue': 'StrEnum',
'UniquenessLevel': 'StrEnum',
'WatchKind': 'IntFlag',
} # type: Dict[str, Literal['StrEnum', 'IntFlag']]
Expand Down
2 changes: 1 addition & 1 deletion lsp_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ class CodeActionKind(StrEnum):
@since 3.18.0 """


class TraceValue(Enum):
class TraceValue(StrEnum):
Off = 'off'
""" Turn tracing off. """
Messages = 'messages'
Expand Down
2 changes: 1 addition & 1 deletion lsp_types_sublime_text_33.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ class CodeActionKind(StrEnum):
@since 3.18.0 """


class TraceValue(Enum):
class TraceValue(StrEnum):
Off = 'off'
""" Turn tracing off. """
Messages = 'messages'
Expand Down

0 comments on commit 0da4d7c

Please sign in to comment.