mirror of
https://github.com/bjc/prosody.git
synced 2025-04-05 06:07:37 +03:00
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.
This commit is contained in:
parent
bce7688486
commit
d1d96f93d1
1 changed files with 19 additions and 0 deletions
19
.editorconfig
Normal file
19
.editorconfig
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue