mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-08-18 18:48:22 +02:00
meta: Move editorconfig to separate module
This commit is contained in:
16
home/editorconfig.nix
Normal file
16
home/editorconfig.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user