meta: set up Editorconfig for Makefiles and C sources
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: Ib28df169ab71a71f68486255a41e10dc6a6a6964
This commit is contained in:
parent
dfd5f83455
commit
c55096fca4
1 changed files with 15 additions and 0 deletions
15
.editorconfig
Normal file
15
.editorconfig
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
root = true
|
||||
|
||||
[*]
|
||||
charset = utf-8
|
||||
end_of_line = lf
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
[*.c]
|
||||
ident_style = space
|
||||
ident_size = 4
|
||||
|
||||
[Makefile*]
|
||||
ident_style = tab
|
||||
ident_size = 4
|
||||
Loading…
Add table
Add a link
Reference in a new issue