From 42eb04c12ac892534d4f9a30c16a00a2ba64b0f8 Mon Sep 17 00:00:00 2001 From: jolheiser Date: Sun, 16 Jul 2023 19:08:16 -0500 Subject: [PATCH] feat: imp Signed-off-by: jolheiser --- apps/default.nix | 1 + apps/helix.nix | 4 ++-- flake.lock | 8 ++++---- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/apps/default.nix b/apps/default.nix index c44d2a0..467d2cc 100644 --- a/apps/default.nix +++ b/apps/default.nix @@ -54,6 +54,7 @@ jetbrains.goland # Personal NUR + nur.repos.jolheiser.imp nur.repos.jolheiser.tmpl ]; activation.report-changes = config.lib.dag.entryAnywhere '' diff --git a/apps/helix.nix b/apps/helix.nix index d6b6376..781c52c 100644 --- a/apps/helix.nix +++ b/apps/helix.nix @@ -162,8 +162,8 @@ { name = "go"; formatter = { - command = "gofumpt"; - args = []; + command = "imp"; + args = ["--gofumpt" "--stdin"]; }; } { diff --git a/flake.lock b/flake.lock index adc27d9..31159d9 100644 --- a/flake.lock +++ b/flake.lock @@ -86,11 +86,11 @@ "nixpkgs": "nixpkgs" }, "locked": { - "lastModified": 1688920912, - "narHash": "sha256-sHFezVZtWWgbUvBBwsAVaHh9gOqCK8ytuJ7YOXcdt0Q=", + "lastModified": 1689552269, + "narHash": "sha256-8sGL2oxKREWs9BxF+geLdJsyjrdHjiKuZPcS5segiDQ=", "ref": "refs/heads/main", - "rev": "d1d2f82ea33f995257998b6ae451d7cca284ff25", - "revCount": 144, + "rev": "a6b87c70764102f297ab228d5199ccf58d14d44e", + "revCount": 146, "type": "git", "url": "https://git.jojodev.com/jolheiser/nur" },