aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Anders <8965202+gpanders@users.noreply.github.com>2021-12-23 06:46:57 -0700
committerGitHub <noreply@github.com>2021-12-23 06:46:57 -0700
commit0d7a97224f28cdf47d7ecc80b6d300c8c67c0b29 (patch)
treeac421a2d43e91ba85c7aab8d10f03249e00e6012
parentbc27d807f3774a77869fb18966edd3a16b3ace21 (diff)
downloadrneovim-0d7a97224f28cdf47d7ecc80b6d300c8c67c0b29.tar.gz
rneovim-0d7a97224f28cdf47d7ecc80b6d300c8c67c0b29.tar.bz2
rneovim-0d7a97224f28cdf47d7ecc80b6d300c8c67c0b29.zip
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).
-rw-r--r--.editorconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
index bb6a1423ef..dca06b7e6a 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -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