Update haskell config
This commit is contained in:
7
init.el
7
init.el
@@ -2053,10 +2053,13 @@ MAPS are expected to be keymaps for modes for languages with C-style comments."
|
||||
(nthcdr 1 rules))))))
|
||||
|
||||
;; Haskell
|
||||
(use-package haskell-mode)
|
||||
(use-package haskell-ts-mode
|
||||
:hook (haskell-ts-mode . my/eglot-if-trusted)
|
||||
:hook ((haskell-ts-mode . my/eglot-if-trusted)
|
||||
(haskell-ts-mode . haskell-indent-mode))
|
||||
:custom
|
||||
(haskell-ts-use-indent t)
|
||||
(haskell-ts-use-indent nil)
|
||||
(haskell-ts-format-command "fourmolu --stdin-input-file %s")
|
||||
:init
|
||||
(add-to-list 'auto-mode-alist '("\\.hs\\'" . haskell-ts-mode)))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user