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:
parent
15f66f4b52
commit
a7cba67fd6
6 changed files with 467 additions and 358 deletions
11
modules/ui/pretty-code/config.el
Normal file
11
modules/ui/pretty-code/config.el
Normal 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)
|
Loading…
Add table
Add a link
Reference in a new issue