Delete trailing whitespace hook

This commit is contained in:
Seth Morabito 2016-08-18 13:01:43 -07:00
parent b8209f81b0
commit dd8533a5e4
2 changed files with 15 additions and 1 deletions

View File

@ -561,7 +561,8 @@
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(c-offsets-alist (quote ((innamespace . [0]))))
'(before-save-hook (quote (delete-trailing-whitespace)))
'(c-offsets-alist (quote ((innamespace . +))))
'(find-grep-options "-q -I")
'(menu-bar-mode t)
'(org-fontify-whole-heading-line t)
@ -573,3 +574,9 @@
(load-theme 'loomcom t)
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)

7
snippets/js2-mode/test Normal file
View File

@ -0,0 +1,7 @@
#contributor : Seth Morabito <web@loomcom.com>
#name : QUnit.test() {...}
#group : test
# --
QUnit.test("$1", function(assert) {
$0
});