Skip to content
This repository was archived by the owner on Nov 7, 2022. It is now read-only.

Commit 31a4704

Browse files
committed
Add editorconfig
1 parent 1d6b4dd commit 31a4704

File tree

3 files changed

+27
-1
lines changed

3 files changed

+27
-1
lines changed

.editorconfig

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# editorconfig.org
2+
3+
root = true
4+
5+
[*]
6+
charset = utf-8
7+
end_of_line = lf
8+
insert_final_newline = true
9+
indent_style = space
10+
trim_trailing_whitespace = true
11+
max_line_length = 100
12+
13+
[Makefile]
14+
indent_style = tab
15+
indent_size = 8
16+
17+
[*.rs]
18+
indent_size = 4
19+
20+
[*.s]
21+
indent_style = tab
22+
indent_size = 8
23+
24+
[*.toml]
25+
indent_size = 4

.vscode/settings.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
"rust-analyzer.cargo.target": "aarch64-unknown-none-softfloat",
77
"rust-analyzer.lens.debug": false,
88
"rust-analyzer.lens.run": false
9-
}
9+
}

Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ exclude = [
1515
".gitignore",
1616
".rustfmt.toml",
1717
".vscode",
18+
".editorconfig",
1819
"Makefile"
1920
]
2021

0 commit comments

Comments
 (0)