mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 04:53:34 +00:00
Set .editorconfig default indent size to 4
We uses indent_size = 4 for almost files in this repository. This sorts the config to it.
This commit is contained in:
parent
75ac37f317
commit
505d506a47
1 changed files with 5 additions and 8 deletions
|
@ -7,13 +7,10 @@ trim_trailing_whitespace = true
|
||||||
end_of_line = lf
|
end_of_line = lf
|
||||||
insert_final_newline = true
|
insert_final_newline = true
|
||||||
indent_style = space
|
indent_style = space
|
||||||
|
|
||||||
[*.{rs,toml}]
|
|
||||||
indent_size = 4
|
indent_size = 4
|
||||||
|
|
||||||
[*.ts]
|
[*.md]
|
||||||
indent_size = 4
|
indent_size = 2
|
||||||
[*.js]
|
|
||||||
indent_size = 4
|
[*.{yml, yaml}]
|
||||||
[*.json]
|
indent_size = 2
|
||||||
indent_size = 4
|
|
||||||
|
|
Loading…
Reference in a new issue