about summary refs log tree commit diff
path: root/emacs/.emacs.d/wpc
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-04-11T09·41+0100
committerWilliam Carroll <wpcarro@gmail.com>2020-04-11T09·41+0100
commit3dac2f10ff4f7f6c5f82cacd27e09c079dcd0367 (patch)
treec2ba952d9b25b72b623f54db1cc1c29fb8b453a4 /emacs/.emacs.d/wpc
parentb600f709b4e456875fc559b3f0e7ef016ad4fca6 (diff)
Drop support for Haskell glyphs
I think that glyphs look nice, but they subtley confuse Emacs's UI. In the case
of a two-character glyph condensing into one character's width, the fill-width
indicator -- correctly -- highlights the 81st character as red, but it looks
like it's erroneously highlighting the 80th.

Also when I want to create an anonymous function I type (), which condenses into
the unit character, and it's difficult to delete either the opening or the
closing parenthesis.

Overall I think glyphs are cute, but they're not worth the trouble.
Diffstat (limited to 'emacs/.emacs.d/wpc')
-rw-r--r--emacs/.emacs.d/wpc/wpc-haskell.el5
1 files changed, 0 insertions, 5 deletions
diff --git a/emacs/.emacs.d/wpc/wpc-haskell.el b/emacs/.emacs.d/wpc/wpc-haskell.el
index e8ab16e585b7..f04562464584 100644
--- a/emacs/.emacs.d/wpc/wpc-haskell.el
+++ b/emacs/.emacs.d/wpc/wpc-haskell.el
@@ -11,11 +11,6 @@
 ;; font-locking, glyph support, etc
 (use-package haskell-mode
   :config
-  (let ((m-symbols
-         '(("`mappend`" . "⊕")
-           ("<>"        . "⊕"))))
-    (dolist (item m-symbols) (add-to-list 'haskell-font-lock-symbols-alist item)))
-  (setq haskell-font-lock-symbols t)
   (add-hook-before-save 'haskell-mode #'haskell-align-imports))
 
 ;; LSP support