summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig5
1 files changed, 4 insertions, 1 deletions
diff --git a/.editorconfig b/.editorconfig
index 1ef5717d..85032d1b 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -7,9 +7,12 @@ charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 79
+# for shfmt
+function_next_line = true
+switch_case_indent = true
[Makefile.am]
indent_style = tab
-[*.yml]
+[*.{yml,yaml}]
indent_size = 2