From b6f1ce8071c70e0afd3bad39ee10404bfbf32f5c Mon Sep 17 00:00:00 2001 From: Prajwal S N Date: Sat, 8 Mar 2025 01:44:27 +0530 Subject: [PATCH] fix: do not apply editorconfig to git commit msg The `max_line_length` property was set to 100 for all filetypes, which led to git commit messages being wrapped at 100 characters instead of the usual 75. This introduces an exception for the special file used by git to write commit messages. Signed-off-by: Prajwal S N --- src/tools/rust-analyzer/.editorconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tools/rust-analyzer/.editorconfig b/src/tools/rust-analyzer/.editorconfig index 6bb743a6736e..2d28ebd4766a 100644 --- a/src/tools/rust-analyzer/.editorconfig +++ b/src/tools/rust-analyzer/.editorconfig @@ -15,3 +15,6 @@ indent_size = 2 [*.{yml,yaml}] indent_size = 2 + +[COMMIT_EDITMSG] +max_line_length = unset