git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[RFC PATCH] editorconfig: limit code lines to 80 characters

From
Carlo Marcelo Arenas Belón <carenas@gmail.com>
Date
Jan 22, 2024, 20:14 UTC
Message-ID
<20240122201420.72802-1-carenas@gmail.com>

Since 6f9beef335 (editorconfig: provide editor settings for Git developers, 2018-10-08) a multi editor/IDE configuration file has been provided to help developers follow Documentation/CodingGuidelines.

The settings are also supposed to mirror what is found in .clang-format, but
the "ColumnLimit: 80" setting wasn't included, so correct that.
---
 .editorconfig | 1 +
 1 file changed, 1 insertion(+)
diff --git a/.editorconfig b/.editorconfig
index f9d819623d..c6d7815c80 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -7,6 +7,7 @@ insert_final_newline = true
 [*.{c,h,sh,perl,pl,pm,txt}]
 indent_style = tab
 tab_width = 8
+max_line_length = 80
 
 [*.py]
 indent_style = space
-- 
2.39.3 (Apple Git-145)
Next: Junio C Hamano
Message 1 of 2 in “editorconfig: limit code lines to 80 characters”
  1. editorconfig: limit code lines to 80 charactersCarlo Marcelo Arenas Belón, Jan 22, 2024
  2. Junio C HamanoJan 22, 2024

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.