summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2019-05-09 16:33:56 -0700
committerEric Anholt <[email protected]>2019-05-13 15:37:01 -0700
commit257999d9a8108ba9b63315137015ee0e67629115 (patch)
tree81fddc4227568dabee177796b79902fde24a435b /src
parent0745d4bd96d79461a70b7c79927007c381ecbc56 (diff)
freedreno: Make .editorconfig match .dir-locals.el.
The editorconfig takes precedence over dir-locals in emacs26 with editorconfig enabled, so the /.editorconfig was affecting these directories. Reviewed-by: Kristian H. Kristensen <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/freedreno/.editorconfig5
-rw-r--r--src/gallium/drivers/freedreno/.editorconfig3
2 files changed, 8 insertions, 0 deletions
diff --git a/src/freedreno/.editorconfig b/src/freedreno/.editorconfig
new file mode 100644
index 00000000000..5dff7105197
--- /dev/null
+++ b/src/freedreno/.editorconfig
@@ -0,0 +1,5 @@
+[*.{c,h,cpp,hpp,cc,hh}]
+indent_style = tab
+indent_size = 4
+tab_width = 4
+max_line_length = 78
diff --git a/src/gallium/drivers/freedreno/.editorconfig b/src/gallium/drivers/freedreno/.editorconfig
index cc8e11ffd65..c32fa49acbb 100644
--- a/src/gallium/drivers/freedreno/.editorconfig
+++ b/src/gallium/drivers/freedreno/.editorconfig
@@ -1,2 +1,5 @@
[*.{c,h}]
indent_style = tab
+indent_size = 4
+tab_width = 4
+max_line_length = 78