[Mesa-dev] [PATCH] amd: add .editorconfig
Bas Nieuwenhuizen
bas at basnieuwenhuizen.nl
Mon Aug 28 00:08:55 UTC 2017
Heh, I noticed today that kate started following these rules for me
too.
Acked-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
On Sun, Aug 27, 2017, at 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>
> ---
> 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
> --
> 2.7.4
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list