* [kvm-unit-tests PATCH] add .editorconfig definition
@ 2020-01-10 15:17 Alex Bennée
2020-01-18 20:20 ` Paolo Bonzini
0 siblings, 1 reply; 2+ messages in thread
From: Alex Bennée @ 2020-01-10 15:17 UTC (permalink / raw)
To: kvm; +Cc: pbonzini, Alex Bennée
This is a editor agnostic configuration file to specify the
indentation style for the project. It is supported by both Emacs and
Vim as well as some other inconsequential editors.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
.editorconfig | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 .editorconfig
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..46d4ac6
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,15 @@
+# EditorConfig is a file format and collection of text editor plugins
+# for maintaining consistent coding styles between different editors
+# and IDEs. Most popular editors support this either natively or via
+# plugin.
+#
+# Check https://editorconfig.org for details.
+
+root = true
+
+[*]
+end_of_line = lf
+insert_final_newline = true
+charset = utf-8
+indent_style = tab
+indent_size = 8
--
2.20.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [kvm-unit-tests PATCH] add .editorconfig definition
2020-01-10 15:17 [kvm-unit-tests PATCH] add .editorconfig definition Alex Bennée
@ 2020-01-18 20:20 ` Paolo Bonzini
0 siblings, 0 replies; 2+ messages in thread
From: Paolo Bonzini @ 2020-01-18 20:20 UTC (permalink / raw)
To: Alex Bennée, kvm
On 10/01/20 16:17, Alex Bennée wrote:
> This is a editor agnostic configuration file to specify the
> indentation style for the project. It is supported by both Emacs and
> Vim as well as some other inconsequential editors.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
> .editorconfig | 15 +++++++++++++++
> 1 file changed, 15 insertions(+)
> create mode 100644 .editorconfig
>
> diff --git a/.editorconfig b/.editorconfig
> new file mode 100644
> index 0000000..46d4ac6
> --- /dev/null
> +++ b/.editorconfig
> @@ -0,0 +1,15 @@
> +# EditorConfig is a file format and collection of text editor plugins
> +# for maintaining consistent coding styles between different editors
> +# and IDEs. Most popular editors support this either natively or via
> +# plugin.
> +#
> +# Check https://editorconfig.org for details.
> +
> +root = true
> +
> +[*]
> +end_of_line = lf
> +insert_final_newline = true
> +charset = utf-8
> +indent_style = tab
> +indent_size = 8
>
Queued, thanks.
Paolo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-01-18 20:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-10 15:17 [kvm-unit-tests PATCH] add .editorconfig definition Alex Bennée
2020-01-18 20:20 ` Paolo Bonzini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.