editorconfig: only skip trimming whitespace for .rs files

This commit is contained in:
Emily 2024-11-10 06:21:24 +01:00
parent 235d57c053
commit f56f07bd54

View file

@ -2,10 +2,12 @@ root = true
[*]
end_of_line = lf
# Turned off because some editors otherwise remove trailing spaces within
# multi-line string literals (intellij-rust/intellij-rust#5368).
trim_trailing_whitespace = false
insert_final_newline = true
trim_trailing_whitespace = true
[*.rs]
indent_style = space
indent_size = 4
# Turned off because some editors otherwise remove trailing spaces within
# multi-line string literals (intellij-rust/intellij-rust#5368).
trim_trailing_whitespace = false