Skip to content

Commit

Permalink
plugins/none-ls: add gofumpt and goimports_reviser (#945)
Browse files Browse the repository at this point in the history
  • Loading branch information
dankuri authored Jan 16, 2024
1 parent c5f43a8 commit 1f73ae1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions plugins/none-ls/servers.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down
2 changes: 2 additions & 0 deletions tests/test-sources/plugins/none-ls.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1f73ae1

Please sign in to comment.