Just remove the macro fallback

This commit is contained in:
George Fraser 2020-11-25 08:39:39 -08:00
parent fe435ffb27
commit ac314f88c6
2 changed files with 8 additions and 2 deletions

View File

@ -40,7 +40,7 @@ macro_rules! define_semantic_token_types {
define_semantic_token_types![
(ATTRIBUTE, "attribute"),
(BOOLEAN, "boolean"),
(BUILTIN_TYPE, "type.defaultLibrary"),
(BUILTIN_TYPE, "builtinType"),
(ESCAPE_SEQUENCE, "escapeSequence"),
(FORMAT_SPECIFIER, "formatSpecifier"),
(GENERIC, "generic"),
@ -70,7 +70,7 @@ macro_rules! define_semantic_token_modifiers {
}
define_semantic_token_modifiers![
(CONSTANT, "readonly"),
(CONSTANT, "constant"),
(CONTROL_FLOW, "controlFlow"),
(INJECTED, "injected"),
(MUTABLE, "mutable"),

View File

@ -948,6 +948,9 @@
"boolean": [
"constant.language.boolean.rust"
],
"builtinType": [
"support.type.primitive.rust"
],
"lifetime": [
"storage.modifier.lifetime.rust"
],
@ -966,6 +969,9 @@
"keyword.controlFlow": [
"keyword.control.rust"
],
"variable.constant": [
"variable.other.constant.rust"
],
"formatSpecifier": [
"punctuation.section.embedded.rust"
],