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

Grazvydas Ignotas notasas at gmail.com
Sun Aug 27 21:44:19 UTC 2017


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



More information about the mesa-dev mailing list