blob: 05369a7dc394ffacf3172dd5774f9951458f45b9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
(setq show-paren-delay 0)
;; turn off tab indentation
(setq-default indent-tabs-mode nil)
;; when saving the file, ensure a newline exists at the end of the file
(setq require-final-newline t)
(use-package whitespace
;; highlight white spaces
:config
(setq whitespace-style '(face trailing))
(add-hook 'prog-mode-hook 'whitespace-mode))
(add-hook 'prog-mode-hook
(lambda () (setq show-trailing-whitespace t)))
(provide 'module-codestyle)
|