We're talking vscode here cause any other editor just aint cuttin it for us.
cmd+p
in vscode ext install eserozvataf.one-dark-pro-monokai-darker
On that monokai darker life
Download this and install the TTF files
The following code snippet will allow ligatures, set up the theme colors, and also define what all aspects will be italic (or cursive in this case)
$HOME/Library/Application Support/Code/User/settings.json
Edit your settings.json file to add:
"editor.fontLigatures": false,
"workbench.colorTheme": "One Dark Pro Monokai Darker",
"editor.fontFamily": "Fira Code iScript",
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": [
//following will be in italic (=FlottFlott)
"comment",
"entity.name.type.class", //class names
"keyword", //import, export, return…
"constant", //String, Number, Boolean…, this, super
"storage.modifier", //static keyword
"storage.type.class.js", //class keyword
],
"settings": {
"fontStyle": "italic"
}
},
{
"scope": [
//following will be excluded from italics (VSCode has some defaults for italics)
"invalid",
"keyword.operator",
"constant.numeric.css",
"keyword.other.unit.px.css",
"constant.numeric.decimal.js",
"constant.numeric.json"
],
"settings": {
"fontStyle": ""
}
}
]
}