freedreno: Update editorconfig and emacs settings for freedreno reformat.

Fixes: 2d439343ea ("freedreno: Re-indent")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10742>
This commit is contained in:
Emma Anholt 2021-05-10 15:10:05 -07:00 committed by Marge Bot
parent e8672be1f7
commit d93acf1001
6 changed files with 29 additions and 13 deletions

View File

@ -1,7 +1,7 @@
((prog-mode
(indent-tabs-mode . t)
(tab-width . 4)
(c-basic-offset . 4)
(indent-tabs-mode . nil)
(tab-width . 3)
(c-basic-offset . 3)
(c-file-style . "k&r")
(fill-column . 78)
(c-file-offsets

View File

@ -1,5 +1,5 @@
[*.{c,h,cpp,hpp,cc,hh}]
indent_style = tab
indent_size = 4
tab_width = 4
[*.{c,h}]
indent_style = space
indent_size = 3
tab_width = 3
max_line_length = 78

View File

@ -0,0 +1,11 @@
((prog-mode
(indent-tabs-mode . t)
(tab-width . 4)
(c-basic-offset . 4)
(c-file-style . "k&r")
(fill-column . 78)
(c-file-offsets
(arglist-cont-nonempty . ++)
)
)
)

View File

@ -0,0 +1,5 @@
[*.{c,h,cpp,hpp,cc,hh}]
indent_style = tab
indent_size = 4
tab_width = 4
max_line_length = 78

View File

@ -1,7 +1,7 @@
((prog-mode
(indent-tabs-mode . t)
(tab-width . 4)
(c-basic-offset . 4)
(indent-tabs-mode . nil)
(tab-width . 3)
(c-basic-offset . 3)
(c-file-style . "k&r")
(fill-column . 78)
(c-file-offsets

View File

@ -1,5 +1,5 @@
[*.{c,h}]
indent_style = tab
indent_size = 4
tab_width = 4
indent_style = space
indent_size = 3
tab_width = 3
max_line_length = 78