ui/pretty-code: use mac-auto-operator-composition-mode
This commit is contained in:
parent
fda813de66
commit
026fa8e65b
1 changed files with 8 additions and 1 deletions
|
@ -83,7 +83,14 @@ Otherwise it builds `prettify-code-symbols-alist' according to
|
||||||
(add-hook 'after-change-major-mode-hook #'+pretty-code-init-pretty-symbols-h)
|
(add-hook 'after-change-major-mode-hook #'+pretty-code-init-pretty-symbols-h)
|
||||||
|
|
||||||
;; Font-specific ligature support
|
;; Font-specific ligature support
|
||||||
(cond ((featurep! +fira)
|
(cond ((and IS-MAC
|
||||||
|
(fboundp 'mac-auto-operator-composition-mode)
|
||||||
|
(or (featurep! +fira)
|
||||||
|
(featurep! +iosevka)
|
||||||
|
(featurep! +hasklig)
|
||||||
|
(featurep! +pragmata-pro)))
|
||||||
|
(mac-auto-operator-composition-mode))
|
||||||
|
((featurep! +fira)
|
||||||
(load! "+fira"))
|
(load! "+fira"))
|
||||||
((featurep! +iosevka)
|
((featurep! +iosevka)
|
||||||
(load! "+iosevka"))
|
(load! "+iosevka"))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue