mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
plugins/none-ls: add ktlint formatter and diagnostics (#729)
This commit is contained in:
parent
796e7391ce
commit
a88b955020
2 changed files with 8 additions and 0 deletions
|
@ -50,6 +50,9 @@
|
||||||
hadolint = {
|
hadolint = {
|
||||||
package = pkgs.hadolint;
|
package = pkgs.hadolint;
|
||||||
};
|
};
|
||||||
|
ktlint = {
|
||||||
|
package = pkgs.ktlint;
|
||||||
|
};
|
||||||
luacheck = {
|
luacheck = {
|
||||||
package = pkgs.luaPackages.luacheck;
|
package = pkgs.luaPackages.luacheck;
|
||||||
};
|
};
|
||||||
|
@ -112,6 +115,9 @@
|
||||||
jq = {
|
jq = {
|
||||||
package = pkgs.jq;
|
package = pkgs.jq;
|
||||||
};
|
};
|
||||||
|
ktlint = {
|
||||||
|
package = pkgs.ktlint;
|
||||||
|
};
|
||||||
markdownlint = {
|
markdownlint = {
|
||||||
package = pkgs.nodePackages.markdownlint-cli;
|
package = pkgs.nodePackages.markdownlint-cli;
|
||||||
};
|
};
|
||||||
|
|
|
@ -50,6 +50,7 @@
|
||||||
flake8.enable = true;
|
flake8.enable = true;
|
||||||
gitlint.enable = true;
|
gitlint.enable = true;
|
||||||
golangci_lint.enable = true;
|
golangci_lint.enable = true;
|
||||||
|
ktlint.enable = true;
|
||||||
shellcheck.enable = true;
|
shellcheck.enable = true;
|
||||||
statix.enable = true;
|
statix.enable = true;
|
||||||
vale.enable = true;
|
vale.enable = true;
|
||||||
|
@ -71,6 +72,7 @@
|
||||||
fnlfmt.enable = true;
|
fnlfmt.enable = true;
|
||||||
fourmolu.enable = true;
|
fourmolu.enable = true;
|
||||||
gofmt.enable = true;
|
gofmt.enable = true;
|
||||||
|
ktlint.enable = true;
|
||||||
nixfmt.enable = true;
|
nixfmt.enable = true;
|
||||||
nixpkgs_fmt.enable = true;
|
nixpkgs_fmt.enable = true;
|
||||||
phpcbf.enable = true;
|
phpcbf.enable = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue