# HG changeset patch # User Kim Alvefur # Date 1626605826 -7200 # Node ID 56feb0cf70528ca2ef3ba9e95af12225a7f8e3ca # Parent 7132acfd287e55a025e4dd8f02225bd7e650f93c editorconfig: We use tabs This lets various supporting editors know what indentation style should be used for files in the repo. See https://editorconfig.org/ Coding style for Lua files is described in `doc/coding_style.md` The 3-space indentation in `configure` comes from its LuaRocks inheritance. `doc/doap.xml` is normalized with `xmllint` which spits out 2-space indentation. diff -r 7132acfd287e -r 56feb0cf7052 .editorconfig --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.editorconfig Sun Jul 18 12:57:06 2021 +0200 @@ -0,0 +1,19 @@ +root = true + +[*] +end_of_line = lf +indent_style = tab +insert_final_newline = true +trim_trailing_whitespace = true + +[CHANGES] +indent_size = 4 +indent_style = space + +[configure] +indent_size = 3 +indent_style = space + +[**.xml] +indent_size = 2 +indent_style = space