[Mesa-dev] [PATCH] editorconfig: Add max_line_length property

Dylan Baker dylan at pnwbakers.com
Mon Jan 7 20:43:54 UTC 2019


Quoting Andres Gomez (2019-01-07 05:49:00)
> The property is supported by the most of the editors, but not all:
> https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties#max_line_length
> 
> Cc: Eric Engestrom <eric at engestrom.ch>
> Cc: Eric Anholt <eric at anholt.net>
> Signed-off-by: Andres Gomez <agomez at igalia.com>
> ---
>  .editorconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/.editorconfig b/.editorconfig
> index 06848f68c08..c2b772da6c1 100644
> --- a/.editorconfig
> +++ b/.editorconfig
> @@ -11,6 +11,7 @@ tab_width = 8
>  [*.{c,h,cpp,hpp,cc,hh}]
>  indent_style = space
>  indent_size = 3
> +max_line_length = 78
>  
>  [{Makefile*,*.mk}]
>  indent_style = tab
> -- 
> 2.18.0
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev

I think the big ones are covered here: vim, emacs, atom, intellij (and
deriviatives), resharper, rider. That seems like it covers pretty much everyone.

Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190107/8ff1c820/attachment-0001.sig>


More information about the mesa-dev mailing list