summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2020-10-27 00:15:57 -0500
committerCase Duckworth2020-10-27 00:15:57 -0500
commit591404643acd2330784c95c461073e4869001633 (patch)
treea30a0f1969dbc9a7c4ac1df9921cbcfae6dcb31f
parentChange height of variable-pitch font (diff)
downloademacs-591404643acd2330784c95c461073e4869001633.tar.gz
emacs-591404643acd2330784c95c461073e4869001633.zip
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.
-rw-r--r--config.org45
1 files 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
320 :height 120) 320 :height 120)
321#+END_SRC 321#+END_SRC
322*** Ligatures 322*** Ligatures
323These cause big problems with cc-mode (as in, totally freezing everything), so I'm going to comment it out.
323#+begin_src emacs-lisp 324#+begin_src emacs-lisp
324 (use-package ligature 325 ;; (use-package ligature
325 :straight (ligature 326 ;; :straight (ligature
326 :host github 327 ;; :host github
327 :repo "mickeynp/ligature.el") 328 ;; :repo "mickeynp/ligature.el")
328 :config 329 ;; :config
329 (ligature-set-ligatures 'prog-mode 330 ;; (ligature-set-ligatures 'prog-mode
330 '("++" "--" "/=" "&&" "||" "||=" 331 ;; '("++" "--" "/=" "&&" "||" "||="
331 "->" "=>" "::" "__" 332 ;; "->" "=>" "::" "__"
332 "==" "===" "!=" "=/=" "!==" 333 ;; "==" "===" "!=" "=/=" "!=="
333 "<=" ">=" "<=>" 334 ;; "<=" ">=" "<=>"
334 "/*" "*/" "//" "///" 335 ;; "/*" "*/" "//" "///"
335 "\\n" "\\\\" 336 ;; "\\n" "\\\\"
336 "<<" "<<<" "<<=" ">>" ">>>" ">>=" 337 ;; "<<" "<<<" "<<=" ">>" ">>>" ">>="
337 "|=" "^=" 338 ;; "|=" "^="
338 "**" "--" "---" "----" "-----" 339 ;; "**" "--" "---" "----" "-----"
339 "==" "===" "====" "=====" 340 ;; "==" "===" "====" "====="
340 "</" "<!--" "</>" "-->" "/>" 341 ;; "</" "<!--" "</>" "-->" "/>"
341 ":=" "..." ":>" ":<" ">:" "<:" 342 ;; ":=" "..." ":>" ":<" ">:" "<:"
342 "::=" ;; add others here 343 ;; "::=" ;; add others here
343 )) 344 ;; ))
344 :config 345 ;; :config
345 (global-ligature-mode)) 346 ;; (global-ligature-mode))
346#+end_src 347#+end_src
347*** [[https://github.com/rolandwalker/unicode-fonts][Unicode fonts]] 348*** [[https://github.com/rolandwalker/unicode-fonts][Unicode fonts]]
348#+BEGIN_SRC emacs-lisp 349#+BEGIN_SRC emacs-lisp