summaryrefslogtreecommitdiff
path: root/.config/emacs/init.el
diff options
context:
space:
mode:
Diffstat (limited to '.config/emacs/init.el')
-rw-r--r--.config/emacs/init.el3
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) . ("->" "<=" ">=" "==" "!=" "*=" "__"))