File: .editorconfig

package info (click to toggle)
fife 0.4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 24,708 kB
  • sloc: cpp: 42,641; xml: 18,881; python: 13,555; makefile: 22
file content (31 lines) | stat: -rw-r--r-- 685 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
;
; Global Editor Config for Fifengine
;
; See http://editorconfig.org/ for more information on this file.
;------------------------------------------------------------------------------

; Top level editor config.
root = true

; use Unix style new lines with new line ending and trim whitespace
[*]
charset = utf-8
indent_style = space
trim_trailing_whitespace = true
insert_final_newline = true
end_of_line = lf

[*.{cpp,h}]
indent_size = 4
max_line_length = 80

; Python: PEP8 defines 4 spaces for indentation
[*.py]
indent_size = 4

[*.{cmake,json,sh,yaml,yml},CMakeLists.txt]
indent_size = 2

; do not remove spaces in docs
[*.{md, asciidoc, asc}]
trim_trailing_whitespace = false