Skip to content

Instantly share code, notes, and snippets.

@sudodoki
Created June 8, 2015 14:50
Show Gist options
  • Save sudodoki/c5fb6cca5a803c1edf3d to your computer and use it in GitHub Desktop.
Save sudodoki/c5fb6cca5a803c1edf3d to your computer and use it in GitHub Desktop.
workaround to disabled ligatures for current line
// 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