mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
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.
25 lines
472 B
EmacsLisp
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
|