diff options
| author | benj <benj@rse8.com> | 2021-02-01 19:59:25 -0800 |
|---|---|---|
| committer | benj <benj@rse8.com> | 2021-02-01 19:59:25 -0800 |
| commit | fa0da6b5e5851708a90f322458dafaf02677e1eb (patch) | |
| tree | b361eb31aa1aabd5e20da3250b0be87a758a5fcf /settings/setup-haskell-mode.el | |
| parent | 9b147da64bedca04026c8225199f604fe2e583d7 (diff) | |
| download | emacs-fa0da6b5e5851708a90f322458dafaf02677e1eb.tar emacs-fa0da6b5e5851708a90f322458dafaf02677e1eb.tar.gz emacs-fa0da6b5e5851708a90f322458dafaf02677e1eb.tar.bz2 emacs-fa0da6b5e5851708a90f322458dafaf02677e1eb.tar.lz emacs-fa0da6b5e5851708a90f322458dafaf02677e1eb.tar.xz emacs-fa0da6b5e5851708a90f322458dafaf02677e1eb.tar.zst emacs-fa0da6b5e5851708a90f322458dafaf02677e1eb.zip | |
updating emacs broke stuff so I shoved it back into the hole...
Diffstat (limited to '')
| -rw-r--r-- | settings/setup-haskell-mode.el | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/settings/setup-haskell-mode.el b/settings/setup-haskell-mode.el index ea3f1f9..b74de32 100644 --- a/settings/setup-haskell-mode.el +++ b/settings/setup-haskell-mode.el @@ -1,6 +1,17 @@ (require 'haskell-mode) (require 'flycheck-haskell) -(setq inferior-haskell-find-project-root nil) +(defun haskell/pretty-symbols () + (setq prettify-symbols-alist + '( + ("\\" . ?λ) + (">=" . ?≥) + ("<=" . ?≤) + ("()" . ?∅)))) + +(add-hook 'haskell-mode-hook 'hasklig-mode) +(add-hook 'haskell-mode-hook 'haskell/pretty-symbols) + +;; (setq inferior-haskell-find-project-root nil) (provide 'setup-haskell-mode) |
