changeset 25:472ac0205242

Add dir-locals file
author ng0@n0.is
date Fri, 03 May 2019 11:23:02 +0000
parents ec816f1fb2d1
children 68229062d9f7
files .dir-locals.el
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.dir-locals.el	Fri May 03 11:23:02 2019 +0000
@@ -0,0 +1,10 @@
+((nil . ((indent-tabs-mode . t)
+         (tab-width . 8)
+         (fill-column . 80)))
+ ;; Warn about spaces used for indentation:
+ (haskell-mode . ((eval . (highlight-regexp "^ *"))))
+ (c-mode . ((c-file-style . "BSD")
+	    (eval add-hook 'before-save-hook #'clang-format-buffer nil t)))
+ (java-mode . ((c-file-style . "BSD")))
+ ("src/imported"
+  . ((nil . ((change-log-default-name . "ChangeLog.local"))))))