Skip to content

Instantly share code, notes, and snippets.

@shaond
Created June 27, 2018 11:23
Show Gist options
  • Save shaond/e98aaa8322119503f87e08e43165322b to your computer and use it in GitHub Desktop.
Save shaond/e98aaa8322119503f87e08e43165322b to your computer and use it in GitHub Desktop.
[vscode] Stop the dracula theme from italising keywords in cpp (C++) files
{
"editor.fontFamily": "Source Code Pro",
"editor.fontSize": 16,
"editor.tabSize": 2,
"workbench.colorTheme": "Dracula Soft",
"editor.formatOnSave": true,
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": [
"storage.type.c",
"entity.name.type"
],
"settings": {
"fontStyle": ""
}
}
]
}
}
@shaond
Copy link
Author

shaond commented Jun 27, 2018

In order to determine the scope of a particular keyword, you need to bring up the command palette (Command + Shift + P) and type in "scope" - see discussion here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment