Skip to content

Commit

Permalink
Merge pull request #380 from benquike/master
Browse files Browse the repository at this point in the history
Add .editorconfig
  • Loading branch information
yuleisui authored Feb 28, 2021
2 parents 5f5bf80 + 0b71bfe commit e7c859a
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

# CMake files
[{CMakeLists.txt,*.cmake}]
indent_style=space
indent_size = 4
tab_width = 4

# C. CPP source code
[{*.{h,c,cpp}]
indent_style=space
indent_size = 4
tab_width = 4

0 comments on commit e7c859a

Please sign in to comment.