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