From 082f03cce20894ece3ea7160630dfe72d4736526 Mon Sep 17 00:00:00 2001 From: Lucas Sta Maria Date: Sat, 7 Dec 2024 14:54:35 -0500 Subject: [PATCH] fix(emacs): add `ligature` package Signed-off-by: Lucas Sta Maria --- .emacs.d/include/priime-ui.el | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.emacs.d/include/priime-ui.el b/.emacs.d/include/priime-ui.el index de2196a..bae9730 100644 --- a/.emacs.d/include/priime-ui.el +++ b/.emacs.d/include/priime-ui.el @@ -82,6 +82,22 @@ ("TEMP" . "#ffffff") ("FIXME" . "#ffffff") ("XXXX*" . "#ffffff")))) +(use-package ligature :straight t + :config + (ligature-set-ligatures 'prog-mode '("|||>" "<|||" "<==>" "" "---" "-<<" + "<~~" "<~>" "<*>" "<||" "<|>" "<$>" "<==" "<=>" "<=<" "<->" + "<--" "<-<" "<<=" "<<-" "<<<" "<+>" "" "###" "#_(" "..<" + "..." "+++" "/==" "///" "_|_" "www" "&&" "^=" "~~" "~@" "~=" + "~>" "~-" "**" "*>" "*/" "||" "|}" "|]" "|=" "|>" "|-" "{|" + "[|" "]#" "::" ":=" ":>" ":<" "$>" "==" "=>" "!=" "!!" ">:" + ">=" ">>" ">-" "-~" "-|" "->" "--" "-<" "<~" "<*" "<|" "<:" + "<$" "<=" "<>" "<-" "<<" "<+" "" "++" "?:" + "?=" "?." "??" ";;" "/*" "/=" "/>" "//" "__" "~~" "(*" "*)" + "\\\\" "://")) + (global-ligature-mode t)) (provide 'priime-ui)