style(vscode): add EditorConfig extension recommendation
As Visual Studio Code is the most popular editor at the moment, it makes sense to recommend the EditorConfig extension because it's not included by default. Also enable the final newline in files again as that was the default until the EditorConfig file was added.
This commit is contained in:
committed by
Henrik Friedrichsen
parent
ae5e8ef055
commit
dc64a2941d
@@ -4,7 +4,7 @@ root = true
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
charset = utf-8
|
||||
insert_final_newline = false
|
||||
insert_final_newline = true
|
||||
|
||||
[*.rs]
|
||||
max_line_length = 100
|
||||
|
||||
2
.gitignore
vendored
2
.gitignore
vendored
@@ -10,8 +10,6 @@
|
||||
|
||||
tags
|
||||
|
||||
/.vscode/
|
||||
|
||||
# Ignore generated resources
|
||||
*.1
|
||||
/misc/_ncspot
|
||||
|
||||
3
.vscode/.gitignore
vendored
Normal file
3
.vscode/.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
/*
|
||||
!/.gitignore
|
||||
!/extensions.json
|
||||
5
.vscode/extensions.json
vendored
Normal file
5
.vscode/extensions.json
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"recommendations": [
|
||||
"editorconfig.editorconfig"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user