mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15: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;
|
||||
excludes = ["plugins/_sources"];
|
||||
};
|
||||
statix.enable = true;
|
||||
};
|
||||
settings.statix.ignore = ["plugins/lsp/language-servers/rust-analyzer-config.nix"];
|
||||
};
|
||||
};
|
||||
devShells = {
|
||||
|
|
|
@ -157,8 +157,7 @@ in {
|
|||
else attrset;
|
||||
|
||||
options = {
|
||||
theme = cfg.theme;
|
||||
iconsEnabled = cfg.iconsEnabled;
|
||||
inherit (cfg) theme iconsEnabled;
|
||||
layout = builtins.map processButtons cfg.layout;
|
||||
};
|
||||
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