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.
This commit is contained in:
parent
b600f709b4
commit
3dac2f10ff
1 changed files with 0 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue