Files
.emacs.d/modules/major-modes/siren-special-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
405 B
EmacsLisp

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