diff options
Diffstat (limited to '.config')
-rw-r--r-- | .config/emacs/init.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el index 3d9b807..ff0c679 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -582,7 +582,8 @@ font name, font weight, and font height in that order.") ;; Setup ligatures (use-package ligature :if - (seq-contains-p (split-string system-configuration-features) "HARFBUZZ") + (and (seq-contains-p (split-string system-configuration-features) "HARFBUZZ") + (display-graphic-p)) :init (defvar x-ligatures-alist '(((c-mode go-ts-mode) . ("->" "<=" ">=" "==" "!=" "*=" "__")) |