chore: add boilerplate
Signed-off-by: Maciej Barć <maciej.barc@onteon.tech>
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
;;; Directory Local Variables -*- no-byte-compile: t -*-
|
||||
;;; For more information see (info "(emacs) Directory Variables")
|
||||
|
||||
((find-file . ((require-final-newline . t)
|
||||
(show-trailing-whitespace . t)
|
||||
(fill-column . 79)))
|
||||
(html-mode . ((eval . (progn
|
||||
(add-hook 'before-save-hook 'whitespace-cleanup nil 'LOCAL)))
|
||||
(indent-tabs-mode . nil) (tab-width . 2) (fill-column . 79)))
|
||||
(js-json-mode . ((eval . (progn
|
||||
(add-hook 'before-save-hook 'whitespace-cleanup nil 'LOCAL)))
|
||||
(indent-tabs-mode . nil) (tab-width . 2) (fill-column . 79)))
|
||||
(js-mode . ((eval . (progn
|
||||
(add-hook 'before-save-hook 'whitespace-cleanup nil 'LOCAL)))
|
||||
(indent-tabs-mode . nil) (tab-width . 2) (fill-column . 79)))
|
||||
(makefile-mode . ((eval . (progn
|
||||
(add-hook 'before-save-hook 'whitespace-cleanup nil 'LOCAL)))
|
||||
(indent-tabs-mode . t) (tab-width . 4) (fill-column . 79)))
|
||||
(markdown-mode . ((eval . (progn
|
||||
(add-hook 'before-save-hook 'whitespace-cleanup nil 'LOCAL)))
|
||||
(indent-tabs-mode . nil) (tab-width . 2) (fill-column . 79)))
|
||||
(nxml-mode . ((eval . (progn
|
||||
(add-hook 'before-save-hook 'whitespace-cleanup nil 'LOCAL)))
|
||||
(indent-tabs-mode . nil) (tab-width . 2) (fill-column . 79)))
|
||||
(python-mode . ((eval . (progn
|
||||
(add-hook 'before-save-hook 'whitespace-cleanup nil 'LOCAL)))
|
||||
(indent-tabs-mode . nil) (tab-width . 4) (fill-column . 79)))
|
||||
(xml-mode . ((eval . (progn
|
||||
(add-hook 'before-save-hook 'whitespace-cleanup nil 'LOCAL)))
|
||||
(indent-tabs-mode . nil) (tab-width . 2) (fill-column . 79)))
|
||||
(yaml-mode . ((eval . (progn
|
||||
(add-hook 'before-save-hook 'whitespace-cleanup nil 'LOCAL)))
|
||||
(indent-tabs-mode . nil) (tab-width . 2) (fill-column . 79))))
|
||||
Reference in New Issue
Block a user