Fix #2995: ligature & all-the-icons conflicts

See domtronn/all-the-icons.el#174
This commit is contained in:
Henrik Lissner
2020-04-30 17:02:24 -04:00
parent 798b5bdaea
commit c25f88c874
4 changed files with 17 additions and 9 deletions

View File

@@ -49,7 +49,7 @@
(defun +pretty-code-setup-hasklig-ligatures-h ()
(set-fontset-font t '(#Xe100 . #Xe129) +pretty-code-hasklig-font-name)
(set-fontset-font t '(#Xe100 . #Xe129) +pretty-code-hasklig-font-name nil 'prepend)
(setq-default prettify-symbols-alist
(append prettify-symbols-alist
(mapcar #'+pretty-code--correct-symbol-bounds