Don't kill haskell REPLs on ESC/C-g #2571

This commit is contained in:
Henrik Lissner 2020-02-20 18:59:50 -05:00
parent 61ed90c273
commit 55e83da9e7
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -25,6 +25,8 @@
(set-repl-handler!
'(haskell-mode haskell-cabal-mode literate-haskell-mode)
#'+haskell/open-repl :persist t)
;; Don't kill REPL popup on ESC/C-g
(set-popup-rule! "^\\*haskell\\*" :quit nil)
(add-hook! 'haskell-mode-hook
#'haskell-collapse-mode ; support folding haskell code blocks