mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-28 13:58:41 +02:00
treewide: Reformat with nixfmt
This commit is contained in:
parent
c6281260dc
commit
62f32bfc71
459 changed files with 28139 additions and 26377 deletions
|
@ -1,22 +1,27 @@
|
|||
{ inputs, ... }: {
|
||||
imports = [ inputs.pre-commit-hooks.flakeModule ./devshell.nix ];
|
||||
{ inputs, ... }:
|
||||
{
|
||||
imports = [
|
||||
inputs.pre-commit-hooks.flakeModule
|
||||
./devshell.nix
|
||||
];
|
||||
|
||||
perSystem = { pkgs, ... }: {
|
||||
formatter = pkgs.nixfmt-rfc-style;
|
||||
perSystem =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
formatter = pkgs.nixfmt-rfc-style;
|
||||
|
||||
pre-commit = {
|
||||
settings.hooks = {
|
||||
nixfmt = {
|
||||
package = pkgs.nixfmt-rfc-style;
|
||||
enable = true;
|
||||
pre-commit = {
|
||||
settings.hooks = {
|
||||
nixfmt = {
|
||||
package = pkgs.nixfmt-rfc-style;
|
||||
enable = true;
|
||||
};
|
||||
statix = {
|
||||
enable = true;
|
||||
excludes = [ "plugins/lsp/language-servers/rust-analyzer-config.nix" ];
|
||||
};
|
||||
typos.enable = true;
|
||||
};
|
||||
statix = {
|
||||
enable = true;
|
||||
excludes =
|
||||
[ "plugins/lsp/language-servers/rust-analyzer-config.nix" ];
|
||||
};
|
||||
typos.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue