Skip to content
Permalink
Browse files

Update .editorconfig;

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

Considering moving it into src or removing it completely.
  • Loading branch information
bjornbytes committed Jan 1, 2020
1 parent f12a092 commit c06a20cd78e3d3c88ae42cabd9fe3ef552e63778
Showing with 8 additions and 1 deletion.
  1. +8 −1 .editorconfig
@@ -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

0 comments on commit c06a20c

Please sign in to comment.
You can’t perform that action at this time.