Commit Diff


commit - 59a3509febcca959517f40a4b6de5dfb1bbea65a
commit + 6a4b6d361afb44cf269b7718189312c90f17e05a
blob - dbd83334003d82892178bbc5b4adfca9d7e8722f
blob + f3ed5e9788fc8d122cb666c9849bda0c54797be1
--- config.org
+++ config.org
@@ -494,6 +494,17 @@
     :config
     (add-hook 'java-mode-hook 'lsp))
 #+end_src
+** Haskell
+#+begin_src emacs-lisp
+  (use-package haskell-mode
+    :mode "\\.hs\\'")
+
+  (use-package lsp-haskell
+    :init
+    (add-hook 'haskell-mode-hook 'lsp)
+    (add-hook 'haskell-mode-hook 'haskell-indent-mode)
+    (add-hook 'haskell-literate-mode-hook 'lsp))
+#+end_src
 * Mail
 #+begin_src emacs-lisp
   (use-package mu4e