summaryrefslogtreecommitdiff
path: root/.editorconfig
blob: 49104b1d5c45e8a17341caf1014c24d97574e8d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
; This file is for unifying the coding style for different editors and IDEs.
; More information at http://EditorConfig.org
;
; To use this from emacs install the editorconfig package

root = true

[*]
end_of_line = LF

[*]
indent_style = space
indent_size = 4
insert_final_newline = true
# Adding trim_trailing_whitespace removes trailing
# from entire buffer on save and we do not want that
# trim_trailing_whitespace = true

[{Makefile*,**.mk*}]
# Use tabs for indentation (Makefiles require tabs)
indent_style = tab