diff --git a/init.el b/init.el index 33ec5a3..209a455 100644 --- a/init.el +++ b/init.el @@ -1335,7 +1335,7 @@ DOCSTRING is an optional form that is discarded upon expansion." "Enables support for mapping characters to ligatures." :config (ligature-set-ligatures - 'prog-mode + '(sgml-mode prog-mode) '(;; This set of ligatures is for Fira Code, but ;; should work for most any font with ligatures: ;; && &&& @@ -1389,6 +1389,7 @@ DOCSTRING is an optional form that is discarded upon expansion." ("0" (rx (and "x" (+ (in "A-F" "a-f" "0-9"))))) "Fl" "Tl" "fi" "fj" "fl" "ft")) :hook + (sgml-mode-hook . ligature-mode) (prog-mode-hook . ligature-mode)) ;; ---------------------------------- ;;