meta: Move editorconfig to separate module

This commit is contained in:
Donovan Glover 2024-08-25 22:33:15 -04:00
parent c5c31718f4
commit 9aaf6ed972
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 16 additions and 15 deletions

16
home/editorconfig.nix Normal file
View File

@ -0,0 +1,16 @@
{
editorconfig = {
enable = true;
settings = {
"*" = {
charset = "utf-8";
end_of_line = "lf";
insert_final_newline = true;
indent_size = 2;
indent_style = "space";
trim_trailing_whitespace = false;
};
};
};
}

View File

@ -1,21 +1,6 @@
{ pkgs, ... }:
{
editorconfig = {
enable = true;
settings = {
"*" = {
charset = "utf-8";
end_of_line = "lf";
insert_final_newline = true;
indent_size = 2;
indent_style = "space";
trim_trailing_whitespace = false;
};
};
};
programs.neovim = {
enable = true;
defaultEditor = true;