replace editor-specific indentation settings with editorconfig
1 file changed, 25 insertions(+), 0 deletions(-)
changed files
M user/settings/development/base.nix → user/settings/development/base.nix
@@ -46,6 +46,31 @@ FLY_NO_UPDATE_CHECK = "1"; LIMA_INSTANCE = "nixos"; }; + editorconfig = { + enable = true; + settings = { + "*" = { + charset = "utf-8"; + end_of_line = "lf"; + trim_trailing_whitespace = true; + insert_final_newline = true; + indent_style = "space"; + indent_size = 2; + }; + justfile = { + indent_style = "tab"; + tab_width = 4; + }; + Makefile = { + indent_style = "tab"; + tab_width = 4; + }; + "*.{yaml,yml}" = { + indent_size = 4; + } + }; + }; + home.shellAliases = { er = "direnv reload"; ea = "direnv allow";