[exim-cvs] Testsuite: add .editorconfig to keep the trailing…

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Exim Git Commits Mailing List
Datum:  
To: exim-cvs
Betreff: [exim-cvs] Testsuite: add .editorconfig to keep the trailing spaces
Gitweb: https://git.exim.org/exim.git/commitdiff/8e2fe7340c5d6abf952c45bc6b96462b8e809b94
Commit:     8e2fe7340c5d6abf952c45bc6b96462b8e809b94
Parent:     6a9cf7f890226aa085842cd3d94b13e78ea31637
Author:     Heiko Schlittermann (HS12-RIPE) <hs@???>
AuthorDate: Sat Oct 3 23:32:56 2020 +0200
Committer:  Heiko Schlittermann (HS12-RIPE) <hs@???>
CommitDate: Sun Oct 4 10:02:14 2020 +0200


    Testsuite: add .editorconfig to keep the trailing spaces
---
 test/.editorconfig | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)


diff --git a/test/.editorconfig b/test/.editorconfig
new file mode 100644
index 0000000..a49aa1d
--- /dev/null
+++ b/test/.editorconfig
@@ -0,0 +1,24 @@
+# Common text-editor configuration for Exim
+# http://editorconfig.org/
+#
+# This system sets attributes of the code results of editing, not of
+# how you set up the editor to do some helpful things for you. It's
+# deliberately limited, to be non-contentious and avoid bloat.
+#
+# In this file, we'll also collect _suggestions_ for text editor configs
+# for various text editors, to better work with what passes for a common
+# style in Exim. Use, or don't use, those as you see fit.
+
+# Unix-style newlines with a newline ending every file
+[*]
+trim_trailing_whitespace = false
+
+# vim
+# ===
+# try: set cinoptions=>1s,{1s
+#
+# More complete:
+# if has("autocmd")
+# au BufNewFile,BufRead */*exim*/src/* set noai nosmartindent expandtab cindent sw=2 cinoptions=>1s,{1s
+# endif
+