about summary refs log tree commit diff stats
path: root/.dir-locals.el
diff options
context:
space:
mode:
authorAlan Pearce2024-06-08 20:41:51 +0200
committerAlan Pearce2024-06-08 20:42:48 +0200
commitd0c47991981a706973899ad2c29c550a22ea6bb8 (patch)
tree0aadec2abf8651bdd09aed428dc06bc1160b3906 /.dir-locals.el
parent408aed03d3454330120475ca53838a2f4fe28ea3 (diff)
downloadsearchix-d0c47991981a706973899ad2c29c550a22ea6bb8.tar.lz
searchix-d0c47991981a706973899ad2c29c550a22ea6bb8.tar.zst
searchix-d0c47991981a706973899ad2c29c550a22ea6bb8.zip
build: add emacs formatting configuration
Diffstat (limited to '.dir-locals.el')
-rw-r--r--.dir-locals.el5
1 files changed, 5 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))))