all repos — archive/dotfiles @ 6d73b558a8bddb14605d6a798590416d6a3afc89

Superseded by nixfiles

Emacs: configure lsp-mode for haskell

Alan Pearce
commit

6d73b558a8bddb14605d6a798590416d6a3afc89

parent

961e9e9938f68e468631a8c039d99fde597c5b28

1 file changed, 5 insertions(+), 1 deletion(-)

jump to
M emacs/.emacs.d/main.elemacs/.emacs.d/main.el
@@ -548,7 +548,8 @@ :ghook ('(typescript-mode-hook
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
@@ -568,6 +569,9 @@ :ghook ('lsp-mode-hook)
:custom ((lsp-ui-sideline-enable nil) (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.