From 96aea471ced9b223856ab34011b3bf3b320fb7d2 Mon Sep 17 00:00:00 2001 From: Soispha Date: Mon, 10 Jul 2023 15:47:06 +0200 Subject: Feat(.editorconfig): Add the configuration for all files This sets some formatting option based on the file. In comparison to the vim lines, this should be supported by more editors. --- .editorconfig | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .editorconfig (limited to '.editorconfig') diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..8cfc43a --- /dev/null +++ b/.editorconfig @@ -0,0 +1,16 @@ +# EditorConfig is awesome: https://EditorConfig.org + +# top-most EditorConfig file +root = true + +# Unix-style newlines with a newline ending every file +[*] +end_of_line = lf +insert_final_newline = true + +# Matches multiple files with brace expansion notation +# Set default charset +[*.{nix}] +charset = utf-8 +indent_style = space +indent_size = 2 -- cgit 1.4.1