From 02f89355f95b84460964546133245e11cd7b78d0 Mon Sep 17 00:00:00 2001 From: jolheiser Date: Mon, 3 Jun 2024 14:39:46 -0500 Subject: [PATCH] feat: dhall formatting Signed-off-by: jolheiser --- config.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config.nix b/config.nix index 939ca45..3151bbd 100644 --- a/config.nix +++ b/config.nix @@ -185,6 +185,14 @@ auto-format = true; formatter.command = "${typst-fmt}/bin/typstfmt"; } + { + name = "dhall"; + auto-format = true; + formatter = { + command = "${dhall}/bin/dhall"; + args = ["format"]; + }; + } ]; language-server = { nil.config.nil.nix.flake.autoEvalInputs = true;