Don't kill haskell REPLs on ESC/C-g #2571
This commit is contained in:
parent
61ed90c273
commit
55e83da9e7
1 changed files with 2 additions and 0 deletions
|
@ -25,6 +25,8 @@
|
||||||
(set-repl-handler!
|
(set-repl-handler!
|
||||||
'(haskell-mode haskell-cabal-mode literate-haskell-mode)
|
'(haskell-mode haskell-cabal-mode literate-haskell-mode)
|
||||||
#'+haskell/open-repl :persist t)
|
#'+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
|
(add-hook! 'haskell-mode-hook
|
||||||
#'haskell-collapse-mode ; support folding haskell code blocks
|
#'haskell-collapse-mode ; support folding haskell code blocks
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue