summaryrefslogtreecommitdiffstats
path: root/src/freedreno/.editorconfig
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/freedreno/.editorconfig
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/freedreno/.editorconfig')
-rw-r--r--src/freedreno/.editorconfig5
1 files changed, 5 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