Major refactor: use-package-always-defer = nil & use :hook
Possibly breaking change: packages are no longer deferred by default. Addresses #286
This commit is contained in:
parent
2cbd1b9107
commit
9d81bc5a8b
45 changed files with 90 additions and 151 deletions
|
@ -1,9 +1,7 @@
|
|||
;;; lang/haskell/+intero.el -*- lexical-binding: t; -*-
|
||||
|
||||
(def-package! intero
|
||||
:commands intero-mode
|
||||
:init
|
||||
(add-hook 'haskell-mode-hook #'intero-mode)
|
||||
:hook (haskell-mode . intero-mode)
|
||||
:config
|
||||
(unless (executable-find "stack")
|
||||
(warn "haskell-mode: couldn't find stack, disabling intero")
|
||||
|
@ -16,6 +14,4 @@
|
|||
|
||||
|
||||
(def-package! hindent
|
||||
:commands hindent-mode
|
||||
:init
|
||||
(add-hook 'haskell-mode-hook #'hindent-mode))
|
||||
:hook (haskell-mode . hindent-mode))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue