From 26b9647ed74215b60313739cdafabee4126edfe7 Mon Sep 17 00:00:00 2001 From: traxys Date: Tue, 23 Jul 2024 22:07:42 +0200 Subject: [PATCH] dev: Introduce an editorconfig file for shfmt The shfmt default is tabs, this allows to match the treefmt default for shfmt launched from outside nix, like from efm-lang-server within neovim. --- .editorconfig | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..b9a948f4 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,3 @@ +[*.sh] +indent_style = space +indent_size = 2