all repos — searchix @ d0c47991981a706973899ad2c29c550a22ea6bb8

Search engine for NixOS, nix-darwin, home-manager and NUR users

build: add emacs formatting configuration
Alan Pearce alan@alanpearce.eu
Sat, 08 Jun 2024 20:41:51 +0200
commit

d0c47991981a706973899ad2c29c550a22ea6bb8

parent

408aed03d3454330120475ca53838a2f4fe28ea3

2 files changed, 9 insertions(+), 0 deletions(-)

jump to
A .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))))
M .editorconfig.editorconfig
@@ -17,3 +17,7 @@ [*.md]
 indent_size = 4
 trim_trailing_whitespace = false
+
+[*.el]
+# checker complains when spaces are used for alignment otherwise
+indent_size = 1