Skip to content

Commit 5fc0db5

Browse files
jwortmannrwols
authored andcommitted
Update semantic token types
1 parent a6ab1a3 commit 5fc0db5

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

plugin/core/protocol.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ class SemanticTokenTypes:
104104
Number = "number"
105105
Regexp = "regexp"
106106
Operator = "operator"
107+
Decorator = "decorator"
107108

108109

109110
class SemanticTokenModifiers:

plugin/core/views.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,8 @@
155155
"string": "string.lsp",
156156
"number": "constant.numeric.lsp",
157157
"regexp": "string.regexp.lsp",
158-
"operator": "keyword.operator.lsp"
158+
"operator": "keyword.operator.lsp",
159+
"decorator": "variable.annotation.lsp",
159160
}
160161

161162

0 commit comments

Comments
 (0)