2019-02-23 03:20:45 +11:00
|
|
|
;;; lang/haskell/+lsp.el -*- lexical-binding: t; -*-
|
|
|
|
|
2019-07-23 12:44:03 +02:00
|
|
|
(use-package! lsp-haskell
|
2019-02-23 03:20:45 +11:00
|
|
|
:after haskell-mode
|
2019-03-02 01:33:54 -05:00
|
|
|
:init (add-hook 'haskell-mode-hook #'lsp!)
|
2019-02-23 03:20:45 +11:00
|
|
|
:config
|
2019-04-07 16:46:59 -04:00
|
|
|
(when IS-MAC
|
|
|
|
(setq lsp-haskell-process-path-hie "hie-wrapper"))
|
2019-02-23 03:20:45 +11:00
|
|
|
;; Does some strange indentation if it pastes in the snippet
|
2019-02-25 22:26:13 -05:00
|
|
|
(setq-hook! 'haskell-mode-hook yas-indent-line 'fixed))
|