mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-05-01 06:35:21 +02:00
meta: Move editorconfig to separate module
This commit is contained in:
parent
c5c31718f4
commit
9aaf6ed972
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, ... }:
|
{ 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 = {
|
programs.neovim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
defaultEditor = true;
|
defaultEditor = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user