Skip to content

Instantly share code, notes, and snippets.

@adiamaan92
Created August 8, 2021 00:04
Show Gist options
  • Save adiamaan92/61ff58fd012f96ab276914f7000ad106 to your computer and use it in GitHub Desktop.
Save adiamaan92/61ff58fd012f96ab276914f7000ad106 to your computer and use it in GitHub Desktop.
Font Scripting in VS Code
{
"editor.fontLigatures": true,
"editor.fontFamily": "'Victor Mono','Fira Code', Consolas, 'Courier New', monospace",
"editor.fontSize": 15,
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": [
"invalid",
"keyword.operator",
"entity.name.function.python",
"constant.other.caps.python",
"string.quoted.docstring.multi.python",
"support.type.property-name.json.comments",
],
"settings": {
"fontStyle": ""
}
},
{
"scope": [
"keyword", //import, export, return…
"constant", //String, Number, Boolean…, this, super
"storage.modifier", //static keyword
"comment",
//python
"storage.type.class.python", //class keyword
"storage.type.function.python",
"keyword.operator.logical.python",
"support.function.builtin.python",
"string.quoted.docstring.multi.python",
"variable.parameter.function.language.python",
"variable.parameter.function.language.special.self.python",
],
"settings": {
"fontStyle": "italic"
}
},
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment