plugins/none-ls: add gofumpt and goimports_reviser (#945)

This commit is contained in:
dankuri 2024-01-16 23:55:02 +01:00 committed by GitHub
parent c5f43a8a37
commit 1f73ae1d94
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 0 deletions

View file

@ -131,9 +131,15 @@ with lib; let
gofmt = {
package = pkgs.go;
};
gofumpt = {
package = pkgs.gofumpt;
};
goimports = {
package = pkgs.gotools;
};
goimports_reviser = {
package = pkgs.goimports-reviser;
};
golines = {
package = pkgs.golines;
};

View file

@ -94,7 +94,9 @@
fnlfmt.enable = true;
fourmolu.enable = true;
gofmt.enable = true;
gofumpt.enable = true;
goimports.enable = true;
goimports_reviser.enable = true;
golines.enable = true;
ktlint.enable = true;
nixfmt.enable = true;