mirror of
https://github.com/vale981/bspwm
synced 2025-03-04 17:31:39 -05:00
Add .editorconfig
This commit is contained in:
parent
00cf7896a4
commit
21a025b1e7
2 changed files with 15 additions and 0 deletions
12
.editorconfig
Normal file
12
.editorconfig
Normal file
|
@ -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
|
|
@ -17,11 +17,14 @@ I follow the [Linux Coding Style][4] with the following variations:
|
||||||
- [Indent with tabs, align with spaces][5].
|
- [Indent with tabs, align with spaces][5].
|
||||||
- Always use braces when using control structures.
|
- Always use braces when using control structures.
|
||||||
|
|
||||||
|
An [EditorConfig][6] is included for convinience.
|
||||||
|
|
||||||
[1]: https://www.bell-labs.com/usr/dmr/www/cbook/
|
[1]: https://www.bell-labs.com/usr/dmr/www/cbook/
|
||||||
[2]: https://xcb.freedesktop.org/tutorial/
|
[2]: https://xcb.freedesktop.org/tutorial/
|
||||||
[3]: http://git-scm.com/documentation
|
[3]: http://git-scm.com/documentation
|
||||||
[4]: https://www.kernel.org/doc/Documentation/process/coding-style.rst
|
[4]: https://www.kernel.org/doc/Documentation/process/coding-style.rst
|
||||||
[5]: http://lea.verou.me/2012/01/why-tabs-are-clearly-superior/
|
[5]: http://lea.verou.me/2012/01/why-tabs-are-clearly-superior/
|
||||||
|
[6]: https://editorconfig.org
|
||||||
|
|
||||||
## Donations
|
## Donations
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue