From 99b3731e79de6c8040a1c38ce59195ff4d256da6 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sat, 21 Sep 2024 07:45:59 +0200 Subject: emacs: Set ligatures for ‘c-ts-mode’ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/emacs/init.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '.config/emacs/init.el') 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: -- cgit v1.2.3