mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -07:00
Add global .editorconfig
This sets some reasonable defaults for all files. Adds settings for *.sh files, doubles as configuration for shfmt. Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
This commit is contained in:
parent
abdda50892
commit
a04a5f70c7
1 changed files with 14 additions and 0 deletions
14
.editorconfig
Normal file
14
.editorconfig
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
root = true
|
||||
|
||||
[*]
|
||||
charset = utf-8
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
[*.sh]
|
||||
indent_style = tab
|
||||
function_next_line = true
|
||||
switch_case_indent = true
|
||||
|
||||
[build/premake/premake5/**]
|
||||
ignore = true
|
||||
Loading…
Reference in a new issue