Enable auto-cleanup of whitespace in sh-mode

This commit is contained in:
2014-08-29 19:09:55 +01:00
parent 01b7bd1567
commit a8f88b09ac

View File

@@ -16,6 +16,7 @@
(setq sh-basic-offset 2)
(setq sh-indentation 2)
(setq highlight-indentation-offset 2)
(setq whitespace-action (quote (auto-cleanup)))
(highlight-indentation-mode)
(define-key sh-mode-map (kbd "RET") 'reindent-then-newline-and-indent))