Update .editorconfig;

- Only apply to stuff in src folder.
- Add lua extension.
- Ignore lib folder.

Considering moving it into src or removing it completely.
This commit is contained in:
bjorn 2019-12-31 18:39:29 -08:00
parent f12a092739
commit c06a20cd78
1 changed files with 8 additions and 1 deletions

View File

@ -1,9 +1,16 @@
# editorconfig.org
root = true
[*.{c,h}]
[src/**.{c,h,lua}]
charset = utf-8
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true
[src/lib/**]
charset = ignore
indent_style = ignore
indent_size = ignore
insert_final_newline = ignore
trim_trailing_whitespace = ignore