Skip to content

Commit

Permalink
Add editorconfig to configure indentation
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ligurio committed Oct 28, 2021
1 parent 5e69145 commit 6b530c2
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# top-most EditorConfig file
root = true

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

[CMakeLists.txt]
indent_style = space
indent_size = 4

[*.cmake]
indent_style = space
indent_size = 4

[*.lua]
indent_style = space
indent_size = 4

[*.{h,c,cc}]
indent_style = tab
tab_width = 8
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

- Replace Travis CI with Github Actions.
- Add workflow that publish rockspec.
- Add editorconfig to configure indentation.

## [2.1.0] - 2020-01-30

Expand Down

0 comments on commit 6b530c2

Please sign in to comment.