~lattis/muon

add .editorconfig to tell editor programs about the project formatting style v1 APPLIED

Eli Schwartz: 1
 add .editorconfig to tell editor programs about the project formatting style

 1 files changed, 10 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~lattis/muon/patches/25422/mbox | git am -3
Learn more about email & git
View this thread in the archives

[PATCH] add .editorconfig to tell editor programs about the project formatting style Export this patch

Particularly configure it to ensure indentation is done via tabs. And
fix the incorrect formatting from my earlier patch, which this
editorconfig would have prevented me from foolishly messing up.
---
 .editorconfig | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 .editorconfig

diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..178cea2
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,10 @@
root = true

[*]
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true

[{*.c,*.h}]
indent_style = tab
-- 
2.33.0
thank you! applied.