From 4ea2c70501fdb680f34733a68fe03de82453225a Mon Sep 17 00:00:00 2001 From: Thomas Ulmer Date: Fri, 27 Feb 2026 10:19:31 -0800 Subject: microhs improvements + emacs integration --- config/emacs/init.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'config') 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 -- cgit v1.2.3