File tree Expand file tree Collapse file tree 2 files changed +2
-11
lines changed Expand file tree Collapse file tree 2 files changed +2
-11
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 , "builtinType " ) ,
43+ ( BUILTIN_TYPE , "type.defaultLibrary " ) ,
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 , "constant " ) ,
73+ ( CONSTANT , "readonly " ) ,
7474 ( CONTROL_FLOW , "controlFlow" ) ,
7575 ( INJECTED , "injected" ) ,
7676 ( MUTABLE , "mutable" ) ,
Original file line number Diff line number Diff line change 939939 {
940940 "language" : " rust" ,
941941 "scopes" : {
942- "macro" : [
943- " entity.name.function.macro.rust"
944- ],
945942 "attribute" : [
946943 " meta.attribute.rust"
947944 ],
951948 "boolean" : [
952949 " constant.language.boolean.rust"
953950 ],
954- "builtinType" : [
955- " support.type.primitive.rust"
956- ],
957951 "lifetime" : [
958952 " storage.modifier.lifetime.rust"
959953 ],
972966 "keyword.controlFlow" : [
973967 " keyword.control.rust"
974968 ],
975- "variable.constant" : [
976- " variable.other.constant.rust"
977- ],
978969 "formatSpecifier" : [
979970 " punctuation.section.embedded.rust"
980971 ],
You can’t perform that action at this time.
0 commit comments