Support for multiple ligature'd fonts

Refactors the ligature configuration to support more than just Iosevka
(uses Fira Code as the second font).
This commit is contained in:
Josh Seba 2018-07-05 19:37:06 -07:00
parent 15f66f4b52
commit a7cba67fd6
6 changed files with 467 additions and 358 deletions

View file

@ -0,0 +1,11 @@
;;; ui/pretty-code/config.el -*- lexical-binding: t; -*-
(cond ((featurep! +fira)
(load! "+fira"))
((featurep! +iosevka)
(load! "+iosevka")))
;; When you get to the right edge, it goes back to how it normally prints
(setq prettify-symbols-unprettify-at-point 'right-edge)
(add-hook! 'after-change-major-mode-hook #'+pretty-code|init-pretty-symbols)