KVM Archive on lore.kernel.org
 help / color / Atom feed
* [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	[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, back to index

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

KVM Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/kvm/0 kvm/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 kvm kvm/ https://lore.kernel.org/kvm \
		kvm@vger.kernel.org
	public-inbox-index kvm

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.kvm


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git