You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
543 B
EmacsLisp

2 years ago
(add-hook 'text-mode-hook (lambda ()
(display-line-numbers-mode 1)
(visual-line-mode 1)
(display-fill-column-indicator-mode 1)
(electric-pair-mode 1)
(electric-indent-mode 1)
(setq-local display-fill-column-indicator-column 120)
(when (require 'highlight-indentation nil t)
(highlight-indentation-mode 1))))