From 591404643acd2330784c95c461073e4869001633 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Tue, 27 Oct 2020 00:15:57 -0500 Subject: Comment out ligature.el For some unknown reason (possibly related to https://github.com/mickeynp/ligature.el/issues/10), when global-ligature-mode is active and I switch to a buffer in some derivative of cc-mode, Emacs totally freezes. So I'm disabling it for now. --- config.org | 45 +++++++++++++++++++++++---------------------- 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/config.org b/config.org index c0ba6da..3bfc426 100644 --- a/config.org +++ b/config.org @@ -320,29 +320,30 @@ I'm sure there's a better way to do this, but for now, this is the best I've got :height 120) #+END_SRC *** Ligatures +These cause big problems with cc-mode (as in, totally freezing everything), so I'm going to comment it out. #+begin_src emacs-lisp - (use-package ligature - :straight (ligature - :host github - :repo "mickeynp/ligature.el") - :config - (ligature-set-ligatures 'prog-mode - '("++" "--" "/=" "&&" "||" "||=" - "->" "=>" "::" "__" - "==" "===" "!=" "=/=" "!==" - "<=" ">=" "<=>" - "/*" "*/" "//" "///" - "\\n" "\\\\" - "<<" "<<<" "<<=" ">>" ">>>" ">>=" - "|=" "^=" - "**" "--" "---" "----" "-----" - "==" "===" "====" "=====" - "" "-->" "/>" - ":=" "..." ":>" ":<" ">:" "<:" - "::=" ;; add others here - )) - :config - (global-ligature-mode)) + ;; (use-package ligature + ;; :straight (ligature + ;; :host github + ;; :repo "mickeynp/ligature.el") + ;; :config + ;; (ligature-set-ligatures 'prog-mode + ;; '("++" "--" "/=" "&&" "||" "||=" + ;; "->" "=>" "::" "__" + ;; "==" "===" "!=" "=/=" "!==" + ;; "<=" ">=" "<=>" + ;; "/*" "*/" "//" "///" + ;; "\\n" "\\\\" + ;; "<<" "<<<" "<<=" ">>" ">>>" ">>=" + ;; "|=" "^=" + ;; "**" "--" "---" "----" "-----" + ;; "==" "===" "====" "=====" + ;; "" "-->" "/>" + ;; ":=" "..." ":>" ":<" ">:" "<:" + ;; "::=" ;; add others here + ;; )) + ;; :config + ;; (global-ligature-mode)) #+end_src *** [[https://github.com/rolandwalker/unicode-fonts][Unicode fonts]] #+BEGIN_SRC emacs-lisp -- cgit 1.4.1-21-gabe81