From 6d73b558a8bddb14605d6a798590416d6a3afc89 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 23 Jul 2019 17:54:28 +0200 Subject: Emacs: configure lsp-mode for haskell --- emacs/.emacs.d/main.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'emacs/.emacs.d/main.el') diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el index 2347ed44..825d6e60 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. -- cgit 1.4.1