From a4852c86e1da225e3d6f78ea04d69732e56e80fa Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Tue, 15 Sep 2020 21:51:42 -0500 Subject: Add ligature and unicode --- init.el | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'init.el') diff --git a/init.el b/init.el index ac84084..1440ab7 100644 --- a/init.el +++ b/init.el @@ -278,6 +278,32 @@ :hook (exwm-init-hook . statusbar-mode))) +(use-package ligature + :straight (ligature + :host github + :repo "mickeynp/ligature.el") + :config + (ligature-set-ligatures 'prog-mode + '("++" "--" "/=" "&&" "||" "||=" + "->" "=>" "::" "__" + "==" "===" "!=" "=/=" "!==" + "<=" ">=" "<=>" + "/*" "*/" "//" "///" + "\\n" "\\\\" + "<<" "<<<" "<<=" ">>" ">>>" ">>=" + "|=" "^=" + "**" "--" "---" "----" "-----" + "==" "===" "====" "=====" + "" "-->" "/>" + ":=" "..." ":>" ":<" ">:" "<:" + "::=" ;; add others here + )) + (global-ligature-mode t)) + +(use-package unicode-fonts + :config + (unicode-fonts-setup)) + ;; modus themes (use-package modus-operandi-theme -- cgit 1.4.1-21-gabe81