On 06/03/17 08:33 AM, Damien Grassart wrote:
> The current root .dir-locals.el doesn't match the radv coding style,
> causing Emacs to highlight nearly every line and edits to use 3-space
> indentation. This sets the c-file-style to "linux" since that appears
> to be the radv coding style.
> 
> Signed-off-by: Damien Grassart <dam...@grassart.com>
> ---
>  src/amd/vulkan/.dir-locals.el | 2 ++
>  1 file changed, 2 insertions(+)
>  create mode 100644 src/amd/vulkan/.dir-locals.el
> 
> diff --git a/src/amd/vulkan/.dir-locals.el b/src/amd/vulkan/.dir-locals.el
> new file mode 100644
> index 0000000000..ca6198e50a
> --- /dev/null
> +++ b/src/amd/vulkan/.dir-locals.el
> @@ -0,0 +1,2 @@
> +((nil . ((show-trailing-whitespace . t)))
> + (c-mode (c-file-style . "linux")))

This doesn't seem consistent with existing .dir-locals.el files in the
tree. If any of those files match the Linux kernel coding style as well,
it would be good to make them all consistent one way or another.


Please add a corresponding .editorconfig file as well.


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to