mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Don't kill haskell REPLs on ESC/C-g #2571
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user