diff options
author | William Carroll <wpcarro@gmail.com> | 2020-04-11T09·41+0100 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-04-11T09·41+0100 |
commit | 3dac2f10ff4f7f6c5f82cacd27e09c079dcd0367 (patch) | |
tree | c2ba952d9b25b72b623f54db1cc1c29fb8b453a4 | |
parent | b600f709b4e456875fc559b3f0e7ef016ad4fca6 (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.
-rw-r--r-- | emacs/.emacs.d/wpc/wpc-haskell.el | 5 |
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 |