mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
hooks: Add a hook for statix (#390)
This commit is contained in:
parent
2a2f702942
commit
dfb2abd209
3 changed files with 4 additions and 2 deletions
|
@ -83,7 +83,9 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
excludes = ["plugins/_sources"];
|
excludes = ["plugins/_sources"];
|
||||||
};
|
};
|
||||||
|
statix.enable = true;
|
||||||
};
|
};
|
||||||
|
settings.statix.ignore = ["plugins/lsp/language-servers/rust-analyzer-config.nix"];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
devShells = {
|
devShells = {
|
||||||
|
|
|
@ -157,8 +157,7 @@ in {
|
||||||
else attrset;
|
else attrset;
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
theme = cfg.theme;
|
inherit (cfg) theme iconsEnabled;
|
||||||
iconsEnabled = cfg.iconsEnabled;
|
|
||||||
layout = builtins.map processButtons cfg.layout;
|
layout = builtins.map processButtons cfg.layout;
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|
1
statix.toml
Normal file
1
statix.toml
Normal file
|
@ -0,0 +1 @@
|
||||||
|
ignore = ["plugins/lsp/language-servers/rust-analyzer-config.nix"]
|
Loading…
Add table
Add a link
Reference in a new issue