build: add emacs formatting configuration
Alan Pearce alan@alanpearce.eu
Sat, 08 Jun 2024 20:41:51 +0200
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