Skip to contentSkip to conversation

editorconfig: limit code lines to 80 characters

RFC PATCH In review Carlo Marcelo Arenas Belón 2 participants 2 messages Jan 22, 2024

lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/1 editorconfig: limit code lines to 80 characters

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(+)
.editorconfig +1 -0
index f9d819623d..c6d7815c80 100644
@@ -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
Signature · 1 line
2.39.3 (Apple Git-145)
#1 lore raw
Quoted 9 lines · Carlo Marcelo Arenas Belón

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(+)

Sounds quite straight-forward to me.