haskell: integrate repl
This commit is contained in:
parent
b070c69d01
commit
124452adbb
1 changed files with 10 additions and 1 deletions
|
@ -3,8 +3,17 @@
|
||||||
(use-package haskell-mode
|
(use-package haskell-mode
|
||||||
:mode "\\.hs$"
|
:mode "\\.hs$"
|
||||||
:config
|
:config
|
||||||
|
(define-repl! haskell-mode switch-to-haskell)
|
||||||
|
|
||||||
;; haskell-mode complains that this function isn't defined, and it isn't!
|
;; haskell-mode complains that this function isn't defined, and it isn't!
|
||||||
(defun haskell-mode-after-save-handler ()))
|
(defun haskell-mode-after-save-handler ())
|
||||||
|
|
||||||
|
(use-package inf-haskell
|
||||||
|
:commands (switch-to-haskell)
|
||||||
|
:init (evil-set-initial-state 'inferior-haskell-mode 'emacs)
|
||||||
|
:config
|
||||||
|
(map! :map inf-haskell-mode-map
|
||||||
|
"ESC ESC" 'narf/popup-close)))
|
||||||
|
|
||||||
(provide 'module-haskell)
|
(provide 'module-haskell)
|
||||||
;;; module-haskell.el ends here
|
;;; module-haskell.el ends here
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue