Files
.emacs.d/modules/major-modes/siren-text-mode.el
Jim Myhrberg 7ed3e92dbb feat(core): use buffer local hl-line-mode instead of global-hl-line-mode
This allows specific major-modes to disable hl-line-mode, which is
desired some terminal/shell modes like vterm where the hl-line flickers
constantly while typing.
2020-08-16 14:21:00 +01:00

22 lines
426 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 fill-column 80)
(hl-line-mode t)
(visual-line-mode t)))
(provide 'siren-text-mode)
;;; siren-text-mode.el ends here