editorconfig: move OpenCL configuration to root
All of the OpenCL files in mesa use 3-space indentation. Move the editorconfig configuration for this to the root so that supported editors will pick this up automatically. Signed-off-by: Olivia Lee <olivia.lee@collabora.com> Reviewed-by: Mary Guillemard <mary@mary.zone> Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37046>
This commit is contained in:
@@ -8,7 +8,7 @@ charset = utf-8
|
|||||||
insert_final_newline = true
|
insert_final_newline = true
|
||||||
tab_width = 8
|
tab_width = 8
|
||||||
|
|
||||||
[*.{c,h,cpp,hpp,cc,hh,y,yy}]
|
[*.{c,h,cpp,hpp,cc,hh,y,yy,cl}]
|
||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 3
|
indent_size = 3
|
||||||
max_line_length = 78
|
max_line_length = 78
|
||||||
|
|||||||
@@ -1,4 +0,0 @@
|
|||||||
[*.cl]
|
|
||||||
indent_style = space
|
|
||||||
indent_size = 3
|
|
||||||
max_line_length = 78
|
|
||||||
Reference in New Issue
Block a user