doomemacs/modules/lang/haskell/+lsp.el

12 lines
399 B
EmacsLisp
Raw Normal View History

2019-02-23 03:20:45 +11:00
;;; lang/haskell/+lsp.el -*- lexical-binding: t; -*-
(use-package! lsp-haskell
:after lsp-mode
2020-03-31 13:45:32 -04:00
:preface (add-hook 'haskell-mode-local-vars-hook #'lsp!)
2019-02-23 03:20:45 +11:00
:config
(when (featurep! +ghcide)
(setq lsp-haskell-server-path "ghcide"
lsp-haskell-server-args nil))
;; Does some strange indentation if it pastes in the snippet
(setq-hook! 'haskell-mode-hook yas-indent-line 'fixed))