Skip to content

Commit

Permalink
plugins/none-ls: add ktlint formatter and diagnostics (#729)
Browse files Browse the repository at this point in the history
  • Loading branch information
MikaelFangel authored Nov 23, 2023
1 parent 796e739 commit a88b955
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 @@ -50,6 +50,9 @@
hadolint = {
package = pkgs.hadolint;
};
ktlint = {
package = pkgs.ktlint;
};
luacheck = {
package = pkgs.luaPackages.luacheck;
};
Expand Down Expand Up @@ -112,6 +115,9 @@
jq = {
package = pkgs.jq;
};
ktlint = {
package = pkgs.ktlint;
};
markdownlint = {
package = pkgs.nodePackages.markdownlint-cli;
};
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 @@ -50,6 +50,7 @@
flake8.enable = true;
gitlint.enable = true;
golangci_lint.enable = true;
ktlint.enable = true;
shellcheck.enable = true;
statix.enable = true;
vale.enable = true;
Expand All @@ -71,6 +72,7 @@
fnlfmt.enable = true;
fourmolu.enable = true;
gofmt.enable = true;
ktlint.enable = true;
nixfmt.enable = true;
nixpkgs_fmt.enable = true;
phpcbf.enable = true;
Expand Down

0 comments on commit a88b955

Please sign in to comment.