Created
June 8, 2015 14:50
-
-
Save sudodoki/c5fb6cca5a803c1edf3d to your computer and use it in GitHub Desktop.
workaround to disabled ligatures for current line
This file contains 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 characters
// Enable all the Fira Code goodness | |
.editor { | |
text-rendering: optimizeLegibility; | |
-webkit-font-feature-settings: "liga" 1; | |
font-feature-settings: "liga" 1; | |
} | |
// Disable it for current line with https://github.com/richrace/highlight-line | |
.editor::shadow { | |
// The cursor line important to use rgba for opacity, also requires !important | |
// to override any theme. | |
.line.cursor-line { | |
// background: rgba(255, 0, 0, 0.3) !important; | |
text-rendering: optimizeSpeed; | |
-webkit-font-feature-settings: normal; | |
font-feature-settings: normal; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment