about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-07-13 22:33:23 +0200
committerGitHub <noreply@github.com>2023-07-13 22:33:23 +0200
commit76f62a999e7af23a1267ba0a883e1cb5bde463be (patch)
tree026b0c43a0ca1b9cf34256785e79a4d32a24e9f0
parentdec104c7adaafb8e10d6dc106bb3e0852748b804 (diff)
parenta219505f7c7f8056c7ed2e6e668eecd3cb62973a (diff)
downloadrust-76f62a999e7af23a1267ba0a883e1cb5bde463be.tar.gz
rust-76f62a999e7af23a1267ba0a883e1cb5bde463be.zip
Rollup merge of #113558 - cuviper:rs100, r=Mark-Simulacrum
Only use max_line_length = 100 for *.rs

This setting was added to match rustfmt, but it's been taking effect on
all file editing, which I notice most on git `COMMIT_EDITMSG`. I want to
keep my default 72-width commit messages, please. :)
-rw-r--r--.editorconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
index d065fa46469..eadd72e4993 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -11,6 +11,8 @@ trim_trailing_whitespace = true
 insert_final_newline = true
 indent_style = space
 indent_size = 4
+
+[*.rs]
 max_line_length = 100
 
 [*.md]