summaryrefslogtreecommitdiff
path: root/.editorconfig
blob: e9d6ce9c89032d42920a199401b48508f0771ecd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
; 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
tab_width = 8
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