diff --git a/home/editorconfig.nix b/home/editorconfig.nix new file mode 100644 index 00000000..3ee6aee0 --- /dev/null +++ b/home/editorconfig.nix @@ -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; + }; + }; + }; +} diff --git a/home/neovim.nix b/home/neovim.nix index 232f757b..b186050f 100644 --- a/home/neovim.nix +++ b/home/neovim.nix @@ -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;