* [RFC PATCH] editorconfig: limit code lines to 80 characters
@ 2024-01-22 20:14 Carlo Marcelo Arenas Belón
2024-01-22 20:44 ` Junio C Hamano
0 siblings, 1 reply; 2+ messages in thread
From: Carlo Marcelo Arenas Belón @ 2024-01-22 20:14 UTC (permalink / raw
To: git; +Cc: sandals, 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(+)
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)
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [RFC PATCH] editorconfig: limit code lines to 80 characters
2024-01-22 20:14 [RFC PATCH] editorconfig: limit code lines to 80 characters Carlo Marcelo Arenas Belón
@ 2024-01-22 20:44 ` Junio C Hamano
0 siblings, 0 replies; 2+ messages in thread
From: Junio C Hamano @ 2024-01-22 20:44 UTC (permalink / raw
To: Carlo Marcelo Arenas Belón; +Cc: git, sandals
Carlo Marcelo Arenas Belón <carenas@gmail.com> writes:
> 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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-01-22 20:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-22 20:14 [RFC PATCH] editorconfig: limit code lines to 80 characters Carlo Marcelo Arenas Belón
2024-01-22 20:44 ` Junio C Hamano
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).