aboutsummaryrefslogtreecommitdiff
path: root/apheleia-formatters.el
diff options
context:
space:
mode:
authorMatus Goljer <matus.goljer@gmail.com>2025-05-20 01:42:52 +0200
committerGitHub <noreply@github.com>2025-05-19 16:42:52 -0700
commit7eaaf3f45703d49e494f6dd0555633cf6b355817 (patch)
tree1613cd36f9e5bef64fecded479e7767629c9c18d /apheleia-formatters.el
parent57d9ab3f909109a093ae69730d8666d8202898ab (diff)
feat: add nomad formatter (#361)
This is a more specific formatter than `hclfmt` for nomad files.
Diffstat (limited to 'apheleia-formatters.el')
-rw-r--r--apheleia-formatters.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/apheleia-formatters.el b/apheleia-formatters.el
index 75374fa..c49c18e 100644
--- a/apheleia-formatters.el
+++ b/apheleia-formatters.el
@@ -104,6 +104,7 @@
(mix-format . ("apheleia-from-project-root"
".formatter.exs" "apheleia-mix-format" filepath))
(nixfmt . ("nixfmt"))
+ (nomad . ("nomad" "fmt" "-"))
(ocamlformat . ("ocamlformat" "-" "--name" filepath
"--enable-outside-detected-project"))
(ocp-indent . ("ocp-indent"))
@@ -370,6 +371,7 @@ rather than using this system."
(nasm-mode . asmfmt)
(nix-mode . nixfmt)
(nix-ts-mode . nixfmt)
+ (nomad-mode . nomad)
(perl-mode . perltidy)
(php-mode . phpcs)
(purescript-mode . purs-tidy)