summaryrefslogtreecommitdiff
path: root/.config/emacs
diff options
context:
space:
mode:
Diffstat (limited to '.config/emacs')
-rw-r--r--.config/emacs/init.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el
index 4326bed..df03f66 100644
--- a/.config/emacs/init.el
+++ b/.config/emacs/init.el
@@ -621,8 +621,9 @@ font name, font weight, and font height in that order.")
(display-graphic-p))
:init
(defvar x-ligatures-alist
- '(((c-mode go-ts-mode) . ("->" "<=" ">=" "==" "!=" "*=" "__"))
- (go-ts-mode . (":="))
+ '(((c-mode go-ts-mode) . ("<=" ">=" "==" "!=" "*=" "__"))
+ (c-mode . ("->")
+ (go-ts-mode . (":=" "<-"))
((html-mode html-ts-mode) . ("<!--" "-->" "/>")))
"Ligatures to enable in specific modes.
Elements of this alist are of the form: