mirror of
https://github.com/xzeldon/htop.git
synced 2024-12-23 22:55:46 +00:00
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
16
.editorconfig
Normal file
16
.editorconfig
Normal file
@ -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
Block a user