From c06a20cd78e3d3c88ae42cabd9fe3ef552e63778 Mon Sep 17 00:00:00 2001 From: bjorn Date: Tue, 31 Dec 2019 18:39:29 -0800 Subject: [PATCH] Update .editorconfig; - Only apply to stuff in src folder. - Add lua extension. - Ignore lib folder. Considering moving it into src or removing it completely. --- .editorconfig | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.editorconfig b/.editorconfig index 7d11f26b..7f9642eb 100644 --- a/.editorconfig +++ b/.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