Files
.emacs.d/modules/major-modes/siren-text-mode.el
Jim Myhrberg 1fade1ab4d feat(lang): ensure markdown formatting respects local fill-column width
Previously prettier would always format markdown files to 80 character
long lines. Now it reads the character width from the fill-column
variable in such a way that fill-column can be set with dir-local
variables.
2021-04-16 12:37:11 +01:00

22 lines
432 B
EmacsLisp

;;; siren-text-mode.el --- jimeh's Emacs Siren: text-mode configuration.
;;; Commentary:
;; Basic configuration for text-mode.
;;; Code:
(use-package text-mode
:straight (:type built-in)
:defer t
:hook (text-mode . siren-text-mode-setup)
:init
(defun siren-text-mode-setup ()
(setq-local fill-column 80)
(hl-line-mode t)
(visual-line-mode t)))
(provide 'siren-text-mode)
;;; siren-text-mode.el ends here