use-package haskell-mode

This commit is contained in:
larstvei 2023-06-12 19:49:42 +02:00
parent 380c67cb28
commit 3422f2f859

View File

@ -207,8 +207,7 @@
(let* ((package--builtins nil) (let* ((package--builtins nil)
(packages (packages
'(haskell-mode ; A Haskell editing mode '(lua-mode ; a major-mode for editing Lua scripts
lua-mode ; a major-mode for editing Lua scripts
markdown-mode ; Emacs Major mode for Markdown-formatted files markdown-mode ; Emacs Major mode for Markdown-formatted files
maude-mode ; Emacs mode for the programming language Maude maude-mode ; Emacs mode for the programming language Maude
minizinc-mode ; Major mode for MiniZinc code minizinc-mode ; Major mode for MiniZinc code
@ -1555,9 +1554,12 @@
#+begin_src emacs-lisp #+begin_src emacs-lisp
(add-hook 'haskell-mode-hook 'interactive-haskell-mode) ;; A Haskell editing mode
(add-hook 'haskell-mode-hook 'turn-on-haskell-doc-mode) (use-package haskell-mode
(add-hook 'haskell-mode-hook 'turn-on-haskell-indent) :defer t
:hook ((haskell-mode . interactive-haskell-mode)
(haskell-mode . turn-on-haskell-doc-mode)
(haskell-mode . turn-on-haskell-indent)))
#+end_src #+end_src