feat: add editorconfig to home-manager
This commit is contained in:
parent
e3070bf04b
commit
af005dce39
1 changed files with 11 additions and 1 deletions
|
@ -13,10 +13,20 @@
|
||||||
./programs/zsh.nix
|
./programs/zsh.nix
|
||||||
./scripts
|
./scripts
|
||||||
];
|
];
|
||||||
|
|
||||||
home.shell.enableShellIntegration = true;
|
home.shell.enableShellIntegration = true;
|
||||||
home.shellAliases = {
|
home.shellAliases = {
|
||||||
gs = "git status";
|
gs = "git status";
|
||||||
ai = "aichat -r %shell% -e";
|
ai = "aichat -r %shell% -e";
|
||||||
};
|
};
|
||||||
|
editorconfig = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
"*" = {
|
||||||
|
indent_style = "space";
|
||||||
|
indent_size = 2;
|
||||||
|
trim_trailing_whitespace = true;
|
||||||
|
insert_final_newline = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue