From fff44ac178f8ef947c0cf05ef8d1f63ce5353641 Mon Sep 17 00:00:00 2001 From: Armaan Bhojwani Date: Sat, 27 Mar 2021 22:24:37 -0400 Subject: [PATCH] Ligatures in text-mode as well --- config.org | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/config.org b/config.org index 7e6625b..b5308f5 100644 --- a/config.org +++ b/config.org @@ -57,7 +57,7 @@ Its fine to set this here because I run Emacs in daemon mode, but if I were not, #+end_src ** Typography *** Font -Great programming font with ligatures +Great programming font with ligatures. #+begin_src emacs-lisp (add-to-list 'default-frame-alist '(font . "JetBrainsMonoNF-12")) #+end_src @@ -65,19 +65,20 @@ Great programming font with ligatures #+begin_src emacs-lisp (use-package ligature :straight (ligature :type git :host github :repo "mickeynp/ligature.el") - :load-path "path-to-ligature-repo" :config - (ligature-set-ligatures 'prog-mode '("-|" "-~" "---" "-<<" "-<" "--" "->" "->>" "-->" "///" "/=" "/==" - "/>" "//" "/*" "*>" "***" "*/" "<-" "<<-" "<=>" "<=" "<|" "<||" - "<|||" "<|>" "<:" "<>" "<-<" "<<<" "<==" "<<=" "<=<" "<==>" "<-|" - "<<" "<~>" "<=|" "<~~" "<~" "<$>" "<$" "<+>" "<+" "" "" "<->" "" "///" "/=" "/==" + "/>" "//" "/*" "*>" "***" "*/" "<-" "<<-" "<=>" "<=" "<|" "<||" + "<|||" "<|>" "<:" "<>" "<-<" "<<<" "<==" "<<=" "<=<" "<==>" "<-|" + "<<" "<~>" "<=|" "<~~" "<~" "<$>" "<$" "<+>" "<+" "" "" "<->" "