[PATCH libosinfo 1/2] Add .editorconfig

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



editorconfig[1] defines a file format for specifying basic coding style
rules, and a bunch of editor plugins to make use of the rules.

Add an .editorconfig file to indicate our c format of 4 space soft tabs

[1]: https://editorconfig.org/

Signed-off-by: Cole Robinson <crobinso@xxxxxxxxxx>
---
 .editorconfig | 3 +++
 1 file changed, 3 insertions(+)
 create mode 100644 .editorconfig

diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..511dce8
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,3 @@
+[*.{h,c}]
+indent_style = space
+indent_size = 4
-- 
2.20.1

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux