Simplify function call

This commit is contained in:
Maciej 2019-07-16 22:25:17 +03:00
parent 44b4cf6170
commit 618c854d21
Signed by: maciej
GPG key ID: 41D62D42D3B0D765

View file

@ -19,12 +19,11 @@
:defer t :defer t
:hook (((prog-mode text-mode) . whitespace-mode) :hook (((prog-mode text-mode) . whitespace-mode)
(before-save . whitespace-cleanup)) (before-save . whitespace-cleanup))
:init (setq whitespace-style #'(face trailing empty)) :config
;;; Insert newline on save (setq whitespace-style #'(face trailing empty newline)
(setq require-final-newline t) ;;; Insert newline on save
;;; Tabs are spaces and are general at 2. Guide indent require-final-newline t
;;; with lines indent-tabs-mode nil))
(setq-default indent-tabs-mode nil))
;; Use colorful, matching parens ;; Use colorful, matching parens
(use-package rainbow-delimiters (use-package rainbow-delimiters