File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ macro_rules! define_semantic_token_types {
40
40
define_semantic_token_types ! [
41
41
( ATTRIBUTE , "attribute" ) ,
42
42
( BOOLEAN , "boolean" ) ,
43
- ( BUILTIN_TYPE , "type.defaultLibrary " ) ,
43
+ ( BUILTIN_TYPE , "builtinType " ) ,
44
44
( ESCAPE_SEQUENCE , "escapeSequence" ) ,
45
45
( FORMAT_SPECIFIER , "formatSpecifier" ) ,
46
46
( GENERIC , "generic" ) ,
@@ -70,7 +70,7 @@ macro_rules! define_semantic_token_modifiers {
70
70
}
71
71
72
72
define_semantic_token_modifiers ! [
73
- ( CONSTANT , "readonly " ) ,
73
+ ( CONSTANT , "constant " ) ,
74
74
( CONTROL_FLOW , "controlFlow" ) ,
75
75
( INJECTED , "injected" ) ,
76
76
( MUTABLE , "mutable" ) ,
Original file line number Diff line number Diff line change 948
948
"boolean" : [
949
949
" constant.language.boolean.rust"
950
950
],
951
+ "builtinType" : [
952
+ " support.type.primitive.rust"
953
+ ],
951
954
"lifetime" : [
952
955
" storage.modifier.lifetime.rust"
953
956
],
966
969
"keyword.controlFlow" : [
967
970
" keyword.control.rust"
968
971
],
972
+ "variable.constant" : [
973
+ " variable.other.constant.rust"
974
+ ],
969
975
"formatSpecifier" : [
970
976
" punctuation.section.embedded.rust"
971
977
],
You can’t perform that action at this time.
0 commit comments