mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-22 00:48:58 +02:00
Add ruff linter and formatter as none-ls source
This commit is contained in:
parent
5870c2e964
commit
060a05138c
2 changed files with 12 additions and 0 deletions
|
@ -87,6 +87,9 @@ with lib; let
|
||||||
revive = {
|
revive = {
|
||||||
pacakge = pkgs.revive;
|
pacakge = pkgs.revive;
|
||||||
};
|
};
|
||||||
|
ruff = {
|
||||||
|
package = pkgs.ruff;
|
||||||
|
};
|
||||||
shellcheck = {
|
shellcheck = {
|
||||||
package = pkgs.shellcheck;
|
package = pkgs.shellcheck;
|
||||||
};
|
};
|
||||||
|
@ -201,6 +204,12 @@ with lib; let
|
||||||
protolint = {
|
protolint = {
|
||||||
package = pkgs.protolint;
|
package = pkgs.protolint;
|
||||||
};
|
};
|
||||||
|
ruff = {
|
||||||
|
package = pkgs.ruff;
|
||||||
|
};
|
||||||
|
ruff_format = {
|
||||||
|
package = pkgs.ruff;
|
||||||
|
};
|
||||||
rustfmt = {
|
rustfmt = {
|
||||||
package = pkgs.rustfmt;
|
package = pkgs.rustfmt;
|
||||||
};
|
};
|
||||||
|
|
|
@ -70,6 +70,7 @@
|
||||||
ktlint.enable = true;
|
ktlint.enable = true;
|
||||||
ltrs.enable = true;
|
ltrs.enable = true;
|
||||||
markdownlint.enable = true;
|
markdownlint.enable = true;
|
||||||
|
ruff.enable = true;
|
||||||
shellcheck.enable = true;
|
shellcheck.enable = true;
|
||||||
statix.enable = true;
|
statix.enable = true;
|
||||||
staticcheck.enable = true;
|
staticcheck.enable = true;
|
||||||
|
@ -122,6 +123,8 @@
|
||||||
markdownlint.enable = true;
|
markdownlint.enable = true;
|
||||||
pint.enable = true;
|
pint.enable = true;
|
||||||
protolint.enable = true;
|
protolint.enable = true;
|
||||||
|
ruff.enable = true;
|
||||||
|
ruff_format.enable = true;
|
||||||
rustfmt.enable = true;
|
rustfmt.enable = true;
|
||||||
sqlfluff.enable = true;
|
sqlfluff.enable = true;
|
||||||
trim_newlines.enable = true;
|
trim_newlines.enable = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue