mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
lang/haskell: add intero support #158
To use dante instead, change `haskell` to `(haskell +dante)` in ~/.emacs.d/init.el.
This commit is contained in:
13
modules/lang/haskell/+dante.el
Normal file
13
modules/lang/haskell/+dante.el
Normal file
@ -0,0 +1,13 @@
|
||||
;;; lang/haskell/+dante.el -*- lexical-binding: t; -*-
|
||||
|
||||
(def-package! dante
|
||||
:after haskell-mode
|
||||
:init
|
||||
(add-hook! 'haskell-mode-hook #'(dante-mode interactive-haskell-mode))
|
||||
:config
|
||||
(unless (executable-find "cabal")
|
||||
(warn "haskell-mode: couldn't find cabal")
|
||||
(remove-hook 'haskell-mode-hook #'dante-mode))
|
||||
|
||||
(add-hook 'dante-mode-hook #'flycheck-mode))
|
||||
|
Reference in New Issue
Block a user