Skip to content

Instantly share code, notes, and snippets.

@thejustinwalsh
Created December 9, 2024 16:54
Show Gist options
  • Save thejustinwalsh/7c252c13e8753349c3256b636c976f3e to your computer and use it in GitHub Desktop.
Save thejustinwalsh/7c252c13e8753349c3256b636c976f3e to your computer and use it in GitHub Desktop.
vscode italics and control flow
{
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": [
//following will be in italic
"comment",
"emphasis",
"invalid",
"markup.italic",
"entity.name.directive.restructuredtext",
"markup.quote",
"keyword.expressions-and-types.swift",
"keyword.other.this",
"variable.language",
"variable.language punctuation.definition.variable.php",
"variable.other.readwrite.instance.ruby",
"variable.parameter.function.language.special",
"entity.other.inherited-class",
"comment.block.documentation entity.name.type",
"comment.block.documentation variable",
"entity.other.attribute-name",
"entity.name.variable.parameter",
"meta.at-rule.function variable",
"meta.at-rule.mixin variable",
"meta.function.arguments variable.other.php",
"meta.selectionset.graphql meta.arguments.graphql variable.arguments.graphql",
"variable.parameter",
"meta.decorator variable.other.readwrite",
"meta.decorator variable.other.property",
"variable.other.alias.yaml",
"keyword.primitive-datatypes.swift",
"keyword.type.cs",
"meta.protocol-list.objc",
"meta.return-type.objc",
"source.go storage.type",
"source.groovy storage.type",
"source.java storage.type",
"source.powershell entity.other.attribute-name",
"storage.class.std.rust",
"storage.type.attribute.swift",
"storage.type.c",
"storage.type.core.rust",
"storage.type.cs",
"storage.type.groovy",
"storage.type.objc",
"storage.type.php",
"storage.type.haskell",
"storage.type.ocaml",
"meta.import variable.other.readwrite",
"meta.object-binding-pattern-variable variable.object.property",
"meta.variable.assignment.destructured.object.coffee variable"
],
"settings": {
"fontStyle": "italic"
}
},
{
"scope": ["keyword.control.flow"],
"settings": {
"foreground": "#ff0099",
"fontStyle": "bold"
}
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment