1;
2; Global Editor Config for Fifengine
3;
4; See http://editorconfig.org/ for more information on this file.
5;------------------------------------------------------------------------------
6
7; Top level editor config.
8root = true
9
10; use Unix style new lines with new line ending and trim whitespace
11[*]
12charset = utf-8
13indent_style = space
14trim_trailing_whitespace = true
15insert_final_newline = true
16end_of_line = lf
17
18[*.{cpp,h}]
19indent_size = 4
20max_line_length = 80
21
22; Python: PEP8 defines 4 spaces for indentation
23[*.py]
24indent_size = 4
25
26[*.{cmake,json,sh,yaml,yml},CMakeLists.txt]
27indent_size = 2
28
29; do not remove spaces in docs
30[*.{md, asciidoc, asc}]
31trim_trailing_whitespace = false