summaryrefslogtreecommitdiff
path: root/.config/emacs
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-09-21 07:45:59 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-09-21 07:45:59 +0200
commit99b3731e79de6c8040a1c38ce59195ff4d256da6 (patch)
treee3174b5793cd36726eb1683f32a30c3548aaf9cf /.config/emacs
parentd9b8cc96d50204c2655dc67e8d14aa31da827d90 (diff)
emacs: Set ligatures for ‘c-ts-mode’
Diffstat (limited to '.config/emacs')
-rw-r--r--.config/emacs/init.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el
index 291f68e..0f4a493 100644
--- a/.config/emacs/init.el
+++ b/.config/emacs/init.el
@@ -604,10 +604,10 @@ font name, font weight, and font height in that order.")
(display-graphic-p))
:init
(defvar x-ligatures-alist
- '(((c-mode go-ts-mode) . ("<=" ">=" "==" "!=" "*=" "__"))
- (c-mode . ("->"))
- (go-ts-mode . (":=" "<-"))
- ((html-mode html-ts-mode) . ("<!--" "-->" "/>")))
+ '(((c-mode c-ts-mode go-ts-mode) . ("<=" ">=" "==" "!=" "*=" "__"))
+ (c-mode c-ts-mode . ("->"))
+ (go-ts-mode . (":=" "<-"))
+ ((html-mode html-ts-mode) . ("<!--" "-->" "/>")))
"Ligatures to enable in specific modes.
Elements of this alist are of the form: