Created
February 12, 2022 03:14
-
-
Save JSH32/96a8c2a88e7a7049c188d03a8bcf703e to your computer and use it in GitHub Desktop.
Rust semantic coloring
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"[rust]": { | |
"editor.wordBasedSuggestions": false, | |
}, | |
"editor.semanticTokenColorCustomizations": { | |
"[Default Dark+]": { | |
"enabled": true, | |
"rules": { | |
"method.static:rust": { | |
"foreground": "#f0c506" | |
}, | |
"method.public:rust": { | |
"foreground": "#eedf54" | |
}, | |
"method.library:rust": { | |
"foreground": "#a5cf0a" | |
}, | |
"method.library.static:rust": { | |
"foreground": "#f0c506" | |
}, | |
"method.trait:rust": { | |
"foreground": "#cca34a" | |
}, | |
"method.library.trait:rust": { | |
"foreground": "#a1c406" | |
}, | |
"keyword.unsafe:rust": { | |
"foreground": "#df732b", | |
"italic": true, | |
}, | |
"method.static.unsafe:rust": { | |
"foreground": "#d68855" | |
}, | |
"method.declaration.unsafe:rust": { | |
"foreground": "#df732b" | |
}, | |
"*.unsafe:rust": { | |
"foreground": "#df732b", | |
"italic": true | |
}, | |
"method.library.unsafe:rust": { | |
"foreground": "#df732b" | |
}, | |
"interface.library:rust": "#ffd99f", | |
"builtinAttribute.attribute": { | |
"foreground": "#8ec03e" | |
}, | |
"generic.attribute:rust": { | |
"foreground": "#fdf9287e" | |
}, | |
"attribute.attribute:rust": { | |
"foreground": "#8ec03e7e" | |
}, | |
"parenthesis.attribute:rust": { | |
"foreground": "#338d63" | |
}, | |
"typeParameter:rust": { | |
"foreground": "#ca90fa", | |
"bold": true, | |
}, | |
"constParameter:rust": { | |
"foreground": "#c15aca", | |
"bold": true, | |
}, | |
"selfKeyword:rust": "#809dff", | |
"enum:rust": "#17b1d8", | |
"property:rust": { | |
"foreground": "#75bfe7", | |
}, | |
"parameter:rust": { | |
"foreground": "#00afce" | |
}, | |
"*.consuming:rust": { | |
"bold": true, | |
}, | |
"namespace:rust": { | |
"foreground": "#99bfc4", | |
}, | |
"namespace.library:rust": { | |
"foreground": "#b4c499", | |
}, | |
"operator:rust": { | |
"foreground": "#d4d4d4da", | |
}, | |
"comma:rust": { | |
"foreground": "#d4d4d4da", | |
}, | |
"colon:rust": { | |
"foreground": "#d4d4d4da", | |
}, | |
"semicolon:rust": { | |
"foreground": "#d4d4d4da", | |
}, | |
"punctuation:rust": { | |
"foreground": "#d4d4d4da", | |
}, | |
"brace:rust": { | |
"foreground": "#f0ddddda", | |
}, | |
"parenthesis:rust": { | |
"foreground": "#d4d4d4da" | |
}, | |
"builtinType:rust": { | |
"foreground": "#b7fc89cb" | |
}, | |
"angle:rust": { | |
"foreground": "#d4d4d4da" | |
}, | |
"operator.controlFlow:rust": { | |
"foreground": "#fd8b5d" | |
}, | |
"interface:rust": "#f7ae40", | |
"typeAlias.trait:rust": "#f1e6a3", | |
"keyword.controlFlow:rust": { | |
"foreground": "#e689bc" | |
}, | |
"keyword.async:rust": { | |
"foreground": "#ca99f8", | |
}, | |
"keyword.async.controlFlow:rust": { | |
"foreground": "#ca99f8", | |
}, | |
"macro:rust": { | |
"foreground": "#c0b5ff" | |
}, | |
"boolean:rust": { | |
"foreground": "#14b16f" | |
}, | |
"string:rust": { | |
"foreground": "#e98e6a" | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this to your VSCode
settings.json