mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-18 10:07:28 +00:00
editorconfig: only skip trimming whitespace for .rs files
This commit is contained in:
parent
235d57c053
commit
f56f07bd54
1 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue