Update haskell config

This commit is contained in:
2026-04-24 03:58:33 -07:00
parent 17093d25c2
commit 43c4769a51

View File

@@ -2053,10 +2053,13 @@ MAPS are expected to be keymaps for modes for languages with C-style comments."
(nthcdr 1 rules)))))) (nthcdr 1 rules))))))
;; Haskell ;; Haskell
(use-package haskell-mode)
(use-package haskell-ts-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 :custom
(haskell-ts-use-indent t) (haskell-ts-use-indent nil)
(haskell-ts-format-command "fourmolu --stdin-input-file %s")
:init :init
(add-to-list 'auto-mode-alist '("\\.hs\\'" . haskell-ts-mode))) (add-to-list 'auto-mode-alist '("\\.hs\\'" . haskell-ts-mode)))