diff mbox series

[2/9] editorconfig: added settings for *.cfg files

Message ID 20210126131412.3567-3-michael.adler@siemens.com
State Accepted
Headers show
Series Overhaul swupdate.cfg handling | expand

Commit Message

Michael Adler Jan. 26, 2021, 1:14 p.m. UTC
This makes it easier to edit swupdate.cfg

Signed-off-by: Michael Adler <michael.adler@siemens.com>
Signed-off-by: Christian Storm <christian.storm@siemens.com>
---
 .editorconfig | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Stefano Babic Jan. 26, 2021, 2:22 p.m. UTC | #1
On 26.01.21 14:14, Michael Adler wrote:
> This makes it easier to edit swupdate.cfg
> 
> Signed-off-by: Michael Adler <michael.adler@siemens.com>
> Signed-off-by: Christian Storm <christian.storm@siemens.com>
> ---
>  .editorconfig | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/.editorconfig b/.editorconfig
> index 2dadd71..46f859a 100644
> --- a/.editorconfig
> +++ b/.editorconfig
> @@ -17,3 +17,7 @@ insert_final_newline = true
>  indent_style = tab
>  indent_size = tab
>  tab_width = 8
> +
> +[*.cfg]
> +indent_style = tab
> +indent_size = 8
> 
Reviewed-by: Stefano Babic <sbabic@denx.de>

Best regards,
Stefano Babic
diff mbox series

Patch

diff --git a/.editorconfig b/.editorconfig
index 2dadd71..46f859a 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -17,3 +17,7 @@  insert_final_newline = true
 indent_style = tab
 indent_size = tab
 tab_width = 8
+
+[*.cfg]
+indent_style = tab
+indent_size = 8