about summary refs log tree commit diff
path: root/.editorconfig
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2023-07-10 15:18:36 -0700
committerJosh Stone <jistone@redhat.com>2023-07-10 15:18:36 -0700
commita219505f7c7f8056c7ed2e6e668eecd3cb62973a (patch)
tree41c065aac4a42a0fdc4b5eb8ddb401a909eb5356 /.editorconfig
parent05b82e551e781154ad2af8a72f34712e97206859 (diff)
downloadrust-a219505f7c7f8056c7ed2e6e668eecd3cb62973a.tar.gz
rust-a219505f7c7f8056c7ed2e6e668eecd3cb62973a.zip
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. :)
Diffstat (limited to '.editorconfig')
-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]