[Mesa-dev] [PATCH] amd: add .editorconfig

Nicolai Hähnle nhaehnle at gmail.com
Mon Aug 28 08:16:13 UTC 2017


On 27.08.2017 23:44, Grazvydas Ignotas wrote:
> amd/common/ and amd/vulkan/ are using tabs for indent, which doesn't
> match the settings in root .editorconfig, so let's override.
> 
> Signed-off-by: Grazvydas Ignotas <notasas at gmail.com>

Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>


> ---
>   src/amd/common/.editorconfig | 3 +++
>   src/amd/vulkan/.editorconfig | 3 +++
>   2 files changed, 6 insertions(+)
>   create mode 100644 src/amd/common/.editorconfig
>   create mode 100644 src/amd/vulkan/.editorconfig
> 
> diff --git a/src/amd/common/.editorconfig b/src/amd/common/.editorconfig
> new file mode 100644
> index 0000000..21a3c7d
> --- /dev/null
> +++ b/src/amd/common/.editorconfig
> @@ -0,0 +1,3 @@
> +[*.{c,h}]
> +indent_style = tab
> +indent_size = tab
> diff --git a/src/amd/vulkan/.editorconfig b/src/amd/vulkan/.editorconfig
> new file mode 100644
> index 0000000..21a3c7d
> --- /dev/null
> +++ b/src/amd/vulkan/.editorconfig
> @@ -0,0 +1,3 @@
> +[*.{c,h}]
> +indent_style = tab
> +indent_size = tab
> 


-- 
Lerne, wie die Welt wirklich ist,
Aber vergiss niemals, wie sie sein sollte.


More information about the mesa-dev mailing list