diff --git a/emacs/.emacs.d/config/init-defaults.el b/emacs/.emacs.d/config/init-defaults.el index 7680d13..579084d 100644 --- a/emacs/.emacs.d/config/init-defaults.el +++ b/emacs/.emacs.d/config/init-defaults.el @@ -24,6 +24,8 @@ ;; Always display line numbers in text/programming modes (add-hook 'prog-mode-hook #'display-line-numbers-mode) - (add-hook 'text-mode-hook #'display-line-numbers-mode)) + (add-hook 'text-mode-hook #'display-line-numbers-mode) + :custom + (require-final-newline t)) (provide 'init-defaults)