This is a breaking change! Update your :popup settings. Old ones will throw errors! Doom's new popup management system casts off its shackles (hur hur) and replaces them with the monster that is `display-buffer-alist`, and window parameters. However, this is highly experimental! Expect edge cases. Particularly with org-mode and magit (or anything that does its own window management). Relevant to #261, #263, #325
17 lines
502 B
EmacsLisp
17 lines
502 B
EmacsLisp
;;; lang/haskell/+intero.el -*- lexical-binding: t; -*-
|
|
;;;###if (featurep! +intero)
|
|
|
|
(def-package! intero
|
|
:hook (haskell-mode . intero-mode)
|
|
:config
|
|
(unless (executable-find "stack")
|
|
(warn "haskell-mode: couldn't find stack, disabling intero")
|
|
(remove-hook 'haskell-mode-hook #'intero-mode))
|
|
|
|
(add-hook! 'intero-mode-hook #'(flycheck-mode eldoc-mode))
|
|
|
|
(set! :lookup 'haskell-mode :definition #'intero-goto-definition))
|
|
|
|
|
|
(def-package! hindent
|
|
:hook (haskell-mode . hindent-mode))
|