Skip to contentSkip to conversation

add editorconfig

PATCH In review Gerd Hoffmann 2 participants 2 messages Jul 17, 2017 – Jul 21, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 add editorconfig

Add a .editorconfig file for qemu. Specifies the indent and tab style for various files (C code and Makefiles for starters). Most popular editors support this either natively or via plugin.

Check http://editorconfig.org/ for details.

---
 .editorconfig | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 .editorconfig
.editorconfig new file +15 -0
new file mode 100644
index 0000000000..b2022e391a
@@ -0,0 +1,15 @@
+# http://editorconfig.org
+root = true
+
+[*]
+end_of_line = lf
+insert_final_newline = true
+charset = utf-8
+
+[Makefile*]
+indent_style = tab
+indent_size = 8
+
+[*.{c,h}]
+indent_style = space
+indent_size = 4
Signature · 1 line
2.9.3
#1 lore raw
Quoted 23 lines · Gerd Hoffmann

Add a .editorconfig file for qemu. Specifies the indent and tab style for various files (C code and Makefiles for starters). Most popular editors support this either natively or via plugin.

Check http://editorconfig.org/ for details.

---
 .editorconfig | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 .editorconfig
.editorconfig new file +5 -0
new file mode 100644
index 0000000000..b2022e391a
@@ -0,0 +1,15 @@
+# http://editorconfig.org
+root = true
+
+[*]
+end_of_line = lf

.editorconfig line 15

Quoted 10 lines
.editorconfig new file +10 -0
+insert_final_newline = true
+charset = utf-8
+
+[Makefile*]
+indent_style = tab
+indent_size = 8
+
+[*.{c,h}]
+indent_style = space
+indent_size = 4

Missing .cpp and .cc (hard to choose one, we use both!).

Stefan