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"))) -- 2.12.0 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev