1
Fork 0
mirror of https://github.com/Steffo99/steffula-code.git synced 2024-11-23 11:34:19 +00:00

Give Rust lifetimes their own color

This commit is contained in:
Steffo 2022-07-30 03:44:11 +02:00
parent 7c886c8418
commit ca2cebdaaf
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -298,6 +298,16 @@
"fontStyle": "bold", "fontStyle": "bold",
} }
}, },
{
"name": "lifetime",
"scope": [
"punctuation.definition.lifetime",
"entity.name.type.lifetime",
],
"settings": {
"foreground": "#8a653b",
}
},
{ {
"name": "variable", "name": "variable",
"scope": [ "scope": [
@ -321,12 +331,10 @@
"constant.language.import-export-all", "constant.language.import-export-all",
"constant.other.placeholder.makefile", "constant.other.placeholder.makefile",
"entity.name.tag.reference.scss", "entity.name.tag.reference.scss",
"entity.name.type.lifetime",
"keyword.other.special-method", "keyword.other.special-method",
"keyword.other.this", "keyword.other.this",
"meta.function.definition keyword.operator.logical", "meta.function.definition keyword.operator.logical",
"meta.use.rust keyword.other.crate", "meta.use.rust keyword.other.crate",
"punctuation.definition.lifetime",
"support.function.builtin.shorthand.gdscript", "support.function.builtin.shorthand.gdscript",
"support.function.magic", "support.function.magic",
"support.function.target.PHONY", "support.function.target.PHONY",