summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2019-07-23 17:54:28 +0200
committerAlan Pearce2019-07-23 17:55:01 +0200
commit6d73b558a8bddb14605d6a798590416d6a3afc89 (patch)
treee87cbab7d90771eb7c0a28dc7def985d7d4832b1
parent961e9e9938f68e468631a8c039d99fde597c5b28 (diff)
downloaddotfiles-6d73b558a8bddb14605d6a798590416d6a3afc89.tar.lz
dotfiles-6d73b558a8bddb14605d6a798590416d6a3afc89.tar.zst
dotfiles-6d73b558a8bddb14605d6a798590416d6a3afc89.zip
Emacs: configure lsp-mode for haskell
-rw-r--r--emacs/.emacs.d/main.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 2347ed4..825d6e6 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -548,7 +548,8 @@ With two prefix arguments, write out the day and month name."
             js-mode-hook
             css-mode-hook
             scss-mode-hook
-            html-mode-hook)
+            html-mode-hook
+            haskell-mode-hook)
           #'lsp)
   :functions (lsp--flymake-setup)
   :gfhook 'lsp--flymake-setup
@@ -569,6 +570,9 @@ With two prefix arguments, write out the day and month name."
            (lsp-ui-doc-mode nil)
            (lsp-enable-snippet nil)))
 
+(use-package lsp-haskell
+  :after lsp-mode)
+
 ;; Inside a javascript project, it's common to install tools locally to
 ;; the project.  This will allows emacs to find their executables.