diff options
| author | Prajwal S N <prajwalnadig21@gmail.com> | 2025-03-08 01:44:27 +0530 |
|---|---|---|
| committer | Prajwal S N <prajwalnadig21@gmail.com> | 2025-03-08 01:44:27 +0530 |
| commit | b6f1ce8071c70e0afd3bad39ee10404bfbf32f5c (patch) | |
| tree | 1a1d6b35fc900c4bb6548b118c4a87608e8294b6 | |
| parent | d11c5b8d75244a52f3578244aa5503ffa5893989 (diff) | |
| download | rust-b6f1ce8071c70e0afd3bad39ee10404bfbf32f5c.tar.gz rust-b6f1ce8071c70e0afd3bad39ee10404bfbf32f5c.zip | |
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 <prajwalnadig21@gmail.com>
| -rw-r--r-- | src/tools/rust-analyzer/.editorconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/rust-analyzer/.editorconfig b/src/tools/rust-analyzer/.editorconfig index 6bb743a6736..2d28ebd4766 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 |
