emacs: marginally better haskell

This commit is contained in:
mehbark 2026-04-30 03:39:20 -04:00
parent c799612d64
commit fb47b8a794
Signed by: mbk
GPG key ID: E333EC1335FFCCDB

View file

@ -552,6 +552,7 @@ If the new path's directories does not exist, create them."
:init :init
(add-hook 'rust-mode-hook #'eglot-ensure) (add-hook 'rust-mode-hook #'eglot-ensure)
(add-hook 'rust-ts-mode-hook #'eglot-ensure) (add-hook 'rust-ts-mode-hook #'eglot-ensure)
(add-hook 'haskell-mode-hook #'eglot-ensure)
(add-hook 'before-save-hook #'eglot-format) (add-hook 'before-save-hook #'eglot-format)
(add-hook 'eglot-managed-mode-hook (add-hook 'eglot-managed-mode-hook
(lambda () (eglot-inlay-hints-mode -1))) (lambda () (eglot-inlay-hints-mode -1)))