mirror of https://github.com/xzeldon/htop.git
add editorconfig file to give hints to editors
We use an unusual indent of three spaces. Let's give editors a hint about that.
This commit is contained in:
parent
68c3270be8
commit
1cda2d7397
|
@ -0,0 +1,16 @@
|
||||||
|
# EditorConfig configuration for htop
|
||||||
|
# http://EditorConfig.org
|
||||||
|
|
||||||
|
# top-most EditorConfig file
|
||||||
|
root = true
|
||||||
|
|
||||||
|
# Unix-style newlines with a newline ending every file, utf-8 charset
|
||||||
|
[*]
|
||||||
|
end_of_line = lf
|
||||||
|
insert_final_newline = true
|
||||||
|
charset = utf-8
|
||||||
|
|
||||||
|
# match C source and header files, set indent to three spaces
|
||||||
|
[*.{c,h}]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 3
|
Loading…
Reference in New Issue