chore: set max_line_length in editorconfig (#16755)

We established a while ago that 100 chars is our line length for both C
and Lua. Not all editorconfig plugins support the "max_line_length"
option, but many do (including all of the ones available for Vim/Neovim
to the best of my knowledge).
This commit is contained in:
Gregory Anders 2021-12-23 06:46:57 -07:00 committed by GitHub
parent bc27d807f3
commit 0d7a97224f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -8,6 +8,9 @@ end_of_line = lf
insert_final_newline = true
charset = utf-8
[*.{c,lua}]
max_line_length = 100
[{Makefile,**/Makefile,runtime/doc/*.txt}]
indent_style = tab
indent_size = 8