diff options
author | Kim Alvefur <zash@zash.se> | 2021-07-18 12:57:06 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-07-18 12:57:06 +0200 |
commit | d1d96f93d15e5884093552965d5ed56c90c667d3 (patch) | |
tree | 1dd2da45729372f1e66119952be6591e2d7fc90d | |
parent | bce7688486e466afa35518ce506991046c4776d9 (diff) | |
download | prosody-d1d96f93d15e5884093552965d5ed56c90c667d3.tar.gz prosody-d1d96f93d15e5884093552965d5ed56c90c667d3.zip |
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.
-rw-r--r-- | .editorconfig | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..5bc9e002 --- /dev/null +++ b/.editorconfig @@ -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 |