From 71d7572950e9266fcf54a9278a948f6b88fa495b Mon Sep 17 00:00:00 2001 From: "Kelvin M. Klann" Date: Sun, 19 Feb 2023 16:08:54 -0300 Subject: editorconfig: add indentation rules Commands used to list the file extensions used in the project: $ git ls-files | sed -En 's/.*(\.[^.]+)$/\1/p' | LC_ALL=C sort | uniq -c For rules that are more specific to a given directory, put a dedicated .editorconfig file in it. --- contrib/syntax/.editorconfig | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 contrib/syntax/.editorconfig (limited to 'contrib') diff --git a/contrib/syntax/.editorconfig b/contrib/syntax/.editorconfig new file mode 100644 index 000000000..385bf17d5 --- /dev/null +++ b/contrib/syntax/.editorconfig @@ -0,0 +1,7 @@ +[*.lang{,.in}] +indent_size = 2 +indent_style = space + +[*.vim{,.in}] +indent_size = 2 +indent_style = space -- cgit v1.2.3-54-g00ecf