-
-
Save unixc3t/7df780cb08a3e458f0e3a5cf4569f509 to your computer and use it in GitHub Desktop.
Revisions
-
junagao revised this gist
Mar 25, 2019 . 1 changed file with 12 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -9,7 +9,7 @@ "textMateRules": [ { "scope": [ //following will be in italic "comment", "entity.name.type.class", //class names "constant", //String, Number, Boolean…, this, super @@ -39,4 +39,14 @@ ] }, } ``` ## Resources https://www.cufonfonts.com/font/operator-mono https://github.com/kencrocken/FiraCodeiScript https://github.com/tonsky/FiraCode ``` "editor.fontFamily": "Fira Code", "editor.fontLigatures": true` ``` https://github.com/kosimst/FiraFlott -
junagao revised this gist
Mar 25, 2019 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,6 @@ # VSCode italic font settings *Add this to settings.json (`cmd ,`):* ``` { "editor.fontFamily": "Operator Mono, Fira Code iScript, Menlo, Monaco, 'Courier New', monospace", -
junagao revised this gist
Mar 25, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ # Add this to settings.json (`cmd ,`) ``` { "editor.fontFamily": "Operator Mono, Fira Code iScript, Menlo, Monaco, 'Courier New', monospace", -
junagao created this gist
Mar 25, 2019 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,40 @@ Add this to settings.json (`cmd ,`) ``` { "editor.fontFamily": "Operator Mono, Fira Code iScript, Menlo, Monaco, 'Courier New', monospace", "editor.fontLigatures": true, "editor.tokenColorCustomizations": { "textMateRules": [ { "scope": [ //following will be in italic (=FlottFlott) "comment", "entity.name.type.class", //class names "constant", //String, Number, Boolean…, this, super "storage.modifier", //static keyword "storage.type.class.js", //class keyword "keyword", //import, export, return… ], "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": "" } } ] }, } ```