]> git.lizzy.rs Git - bspwm.git/commitdiff
Add .editorconfig
authorCosmo Borsky <me@cosmoborsky.com>
Tue, 29 Jan 2019 21:28:29 +0000 (16:28 -0500)
committerBastien Dejean <nihilhill@gmail.com>
Fri, 1 Feb 2019 16:45:23 +0000 (17:45 +0100)
.editorconfig [new file with mode: 0644]
doc/CONTRIBUTING.md

diff --git a/.editorconfig b/.editorconfig
new file mode 100644 (file)
index 0000000..1f06e12
--- /dev/null
@@ -0,0 +1,12 @@
+# EditorConfig: https://editorconfig.org
+
+# Top-most EditorConfig file
+root = true
+
+# Unix-style newlines with a newline ending every file
+[*]
+insert_final_newline = true
+trim_trailing_whitespace = true
+charset = utf-8
+indent_style = tab
+indent_size = 4
index 3c2040b0f9d1fe243e124d0eec010cf223219bc0..90f560478d6c97415faafbb9e57b82eb74479b47 100644 (file)
@@ -17,11 +17,14 @@ I follow the [Linux Coding Style][4] with the following variations:
 - [Indent with tabs, align with spaces][5].
 - Always use braces when using control structures.
 
+An [EditorConfig][6] is included for convinience.
+
 [1]: https://www.bell-labs.com/usr/dmr/www/cbook/
 [2]: https://xcb.freedesktop.org/tutorial/
 [3]: http://git-scm.com/documentation
 [4]: https://www.kernel.org/doc/Documentation/process/coding-style.rst
 [5]: http://lea.verou.me/2012/01/why-tabs-are-clearly-superior/
+[6]: https://editorconfig.org
 
 ## Donations