From: Armaan Bhojwani Date: Sun, 28 Mar 2021 02:24:37 +0000 (-0400) Subject: Ligatures in text-mode as well X-Git-Url: https://git.armaanb.net/?a=commitdiff_plain;h=fff44ac178f8ef947c0cf05ef8d1f63ce5353641;hp=7cc2d2605f81228b8617a962b45523b6d5e88990;p=config.org.git Ligatures in text-mode as well --- 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 '("-|" "-~" "---" "-<<" "-<" "--" "->" "->>" "-->" "///" "/=" "/==" - "/>" "//" "/*" "*>" "***" "*/" "<-" "<<-" "<=>" "<=" "<|" "<||" - "<|||" "<|>" "<:" "<>" "<-<" "<<<" "<==" "<<=" "<=<" "<==>" "<-|" - "<<" "<~>" "<=|" "<~~" "<~" "<$>" "<$" "<+>" "<+" "" "" "<->" "" "///" "/=" "/==" + "/>" "//" "/*" "*>" "***" "*/" "<-" "<<-" "<=>" "<=" "<|" "<||" + "<|||" "<|>" "<:" "<>" "<-<" "<<<" "<==" "<<=" "<=<" "<==>" "<-|" + "<<" "<~>" "<=|" "<~~" "<~" "<$>" "<$" "<+>" "<+" "" "" "<->" "