[Mesa-dev] [RFC mesa] Introduce .editorconfig

Rob Clark robdclark at gmail.com
Mon Jul 18 19:09:22 UTC 2016


On Sun, Jul 17, 2016 at 7:46 PM, Eric Engestrom <eric at engestrom.ch> wrote:
> diff --git a/src/gallium/drivers/freedreno/.editorconfig b/src/gallium/drivers/freedreno/.editorconfig
> new file mode 100644
> index 0000000..cc8e11f
> --- /dev/null
> +++ b/src/gallium/drivers/freedreno/.editorconfig
> @@ -0,0 +1,2 @@
> +[*.{c,h}]
> +indent_style = tab

fyi, I guess also add:

   tab_width = 4

and not sure if there is a way to tell it to use k&r rules?

But looks like a good idea to me, thanks :-)

BR,
-R


More information about the mesa-dev mailing list