[Qemu-devel] [PATCH v1 06/23] editorconfig: add settings for .s/.S files

Alex Bennée posted 23 patches 6 years, 9 months ago
Only 22 patches received!
[Qemu-devel] [PATCH v1 06/23] editorconfig: add settings for .s/.S files
Posted by Alex Bennée 6 years, 9 months ago
We are starting to add assembler foe tests/tcg so lets make sure we
get the mode right.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
 .editorconfig | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.editorconfig b/.editorconfig
index 15828833938..df6db65531d 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -26,6 +26,11 @@ file_type_emacs = makefile
 indent_style = space
 indent_size = 4
 
+[*.{s,S}]
+indent_style = tab
+indent_size = 8
+file_type_emacs = asm
+
 [*.{vert,frag}]
 file_type_emacs = glsl
 
-- 
2.20.1


Re: [Qemu-devel] [PATCH v1 06/23] editorconfig: add settings for .s/.S files
Posted by Richard Henderson 6 years, 9 months ago
On 5/9/19 9:58 AM, Alex Bennée wrote:
> We are starting to add assembler foe tests/tcg so lets make sure we
> get the mode right.
> 
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
>  .editorconfig | 5 +++++
>  1 file changed, 5 insertions(+)

Yay, thanks!

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>


r~