Skip to content

Commit daf50d7

Browse files
committed
Add editorconfig to configure indentation
Patch adds a commit 'Add editorconfig to configure indents' (886976a) that was implemented and the reverted in scope of issue with discard v2. Follows up #90 Part of #134
1 parent 7e429b7 commit daf50d7

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

.editorconfig

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# top-most EditorConfig file
2+
root = true
3+
4+
# Unix-style newlines with a newline ending every file
5+
[*]
6+
end_of_line = lf
7+
insert_final_newline = true
8+
9+
[CMakeLists.txt]
10+
indent_style = space
11+
indent_size = 4
12+
13+
[*.cmake]
14+
indent_style = space
15+
indent_size = 4
16+
17+
[*.lua]
18+
indent_style = space
19+
indent_size = 4
20+
21+
[*.{h,c,cc}]
22+
indent_style = tab
23+
tab_width = 8

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1515

1616
- Replace Travis CI with Github Actions.
1717
- Add workflow that publish rockspec.
18+
- Add editorconfig to configure indentation.
1819

1920
## [2.1.0] - 2020-01-30
2021

0 commit comments

Comments
 (0)