about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--.dir-locals.el5
-rw-r--r--.editorconfig4
2 files changed, 9 insertions, 0 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
new file mode 100644
index 0000000..268db89
--- /dev/null
+++ b/.dir-locals.el
@@ -0,0 +1,5 @@
+;;; Directory Local Variables            -*- no-byte-compile: t -*-
+;;; For more information see (info "(emacs) Directory Variables")
+
+((go-ts-mode . ((apheleia-formatter . golines)))
+ (web-mode . ((apheleia-formatter . prettier-gotmpl))))
diff --git a/.editorconfig b/.editorconfig
index 13a6a6f..34e76d0 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -17,3 +17,7 @@ indent_size = 4
 [*.md]
 indent_size = 4
 trim_trailing_whitespace = false
+
+[*.el]
+# checker complains when spaces are used for alignment otherwise
+indent_size = 1