Add working whitespace cleanup
This commit is contained in:
parent
1390969075
commit
58b79e0a74
1 changed files with 1 additions and 0 deletions
|
|
@ -63,6 +63,7 @@
|
|||
(setq whitespace-style '(face trailing empty))
|
||||
|
||||
(add-hook 'before-save-hook 'delete-trailing-lines)
|
||||
(add-hook 'before-save-hook 'whitespace-cleanup) ; Cleanup whitespace on save
|
||||
|
||||
;; Tabs are spaces and are general at 2. Guide indent with lines
|
||||
(setq-default indent-tabs-mode nil)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue