doomemacs/modules/module-haskell.el

20 lines
521 B
EmacsLisp
Raw Normal View History

2016-03-29 01:06:37 -04:00
;;; module-haskell.el
(use-package haskell-mode
:mode "\\.hs$"
:config
2016-03-29 18:11:56 -04:00
(define-repl! haskell-mode switch-to-haskell)
2016-03-29 01:06:37 -04:00
;; haskell-mode complains that this function isn't defined, and it isn't!
2016-03-29 18:11:56 -04:00
(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)))
2016-03-29 01:06:37 -04:00
(provide 'module-haskell)
;;; module-haskell.el ends here