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 {
4040define_semantic_token_types ! [
4141 ( ATTRIBUTE , "attribute" ) ,
4242 ( BOOLEAN , "boolean" ) ,
43- ( BUILTIN_TYPE , "type.defaultLibrary " ) ,
43+ ( BUILTIN_TYPE , "builtinType " ) ,
4444 ( ESCAPE_SEQUENCE , "escapeSequence" ) ,
4545 ( FORMAT_SPECIFIER , "formatSpecifier" ) ,
4646 ( GENERIC , "generic" ) ,
@@ -70,7 +70,7 @@ macro_rules! define_semantic_token_modifiers {
7070}
7171
7272define_semantic_token_modifiers ! [
73- ( CONSTANT , "readonly " ) ,
73+ ( CONSTANT , "constant " ) ,
7474 ( CONTROL_FLOW , "controlFlow" ) ,
7575 ( INJECTED , "injected" ) ,
7676 ( MUTABLE , "mutable" ) ,
Original file line number Diff line number Diff line change 948948 "boolean" : [
949949 " constant.language.boolean.rust"
950950 ],
951+ "builtinType" : [
952+ " support.type.primitive.rust"
953+ ],
951954 "lifetime" : [
952955 " storage.modifier.lifetime.rust"
953956 ],
966969 "keyword.controlFlow" : [
967970 " keyword.control.rust"
968971 ],
972+ "variable.constant" : [
973+ " variable.other.constant.rust"
974+ ],
969975 "formatSpecifier" : [
970976 " punctuation.section.embedded.rust"
971977 ],
You can’t perform that action at this time.
0 commit comments