Files
.emacs.d/modules/languages/siren-haskell.el
Jim Myhrberg 4ea4f6dc95 chore(completion): remove needless company-mode references
Since we enable global-company-mode, explicitly enabling it in the setup
for various major modes does nothing. But it does tie the code to
company mode, making it harder to try alternatives like corfu.
2022-03-14 11:58:47 +00:00

25 lines
472 B
EmacsLisp

;;; siren-haskell.el --- jimeh's Emacs Siren: haskell-mode configuration.
;;; Commentary:
;; Basic configuration for haskell-mode.
;;; Code:
(require 'siren-folding)
(use-package haskell-mode
:bind (:map haskell-mode-map
("RET" . newline-and-indent))
:hook
(haskell-mode . siren-haskell-mode-setup)
:init
(defun siren-haskell-mode-setup ()
(siren-folding)
(subword-mode +1)))
(provide 'siren-haskell)
;;; siren-haskell.el ends here