summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorThomas Ulmer <thomasmulmer02@gmail.com>2026-02-27 10:19:31 -0800
committerThomas Ulmer <thomasmulmer02@gmail.com>2026-02-27 10:19:31 -0800
commit4ea2c70501fdb680f34733a68fe03de82453225a (patch)
tree4a699f1f6438cd23782d6d8021fb088758986303 /config
parent6fcbbddd2e119ad039a1be823088069b5ce01cd0 (diff)
microhs improvements + emacs integration
Diffstat (limited to 'config')
-rw-r--r--config/emacs/init.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/config/emacs/init.el b/config/emacs/init.el
index d5db7d1..20970b0 100644
--- a/config/emacs/init.el
+++ b/config/emacs/init.el
@@ -898,7 +898,10 @@ With ARG, don't save the current layout."
(haskell-tags-on-save t)
(haskell-process-type 'cabal-repl)
(haskell-process-auto-import-loaded-modules t)
- :hook (haskell-mode . interactive-haskell-mode))
+ :hook (haskell-mode . interactive-haskell-mode)
+ :config
+ (add-to-list 'compilation-error-regexp-alist-alist (cons 'microhs (list "^mhs:.*error:\\s-*\"\\(.*\\)\":\\s-*line \\([0-9]*\\), col \\([0-9]*\\)" 1 2 3 2)))
+ (add-to-list 'compilation-error-regexp-alist 'microhs))
(use-package opam-switch-mode ; make emacs mode respect switch
:config