Skip to content

Commit 6e88150

Browse files
committed
.vscode/settings.json: extract common settings
Move the 'editor.wordWrap = false' and 'files.trimTrailingWhitespace = true' settings into a general scope from their previous language-specific configuration. These represent the default values we want for any language. These settings can still be toggled on a language-by-language basis if necessary in the future. Signed-off-by: Victoria Dye <[email protected]>
1 parent 9557922 commit 6e88150

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.vscode/settings.json

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,29 @@
11
{
22
// File formatting
3+
// General settings
4+
"editor.wordWrap": "off",
5+
"files.trimTrailingWhitespace": true,
6+
7+
// Language-specific settings
38
"[markdown]": {
49
"editor.detectIndentation": false,
510
"editor.insertSpaces": true,
611
"editor.tabSize": 4,
7-
"editor.wordWrap": "off",
8-
"files.trimTrailingWhitespace": true,
912
},
1013
"[makefile]": {
1114
"editor.detectIndentation": false,
1215
"editor.insertSpaces": false,
1316
"editor.tabSize": 8,
14-
"editor.wordWrap": "off",
15-
"files.trimTrailingWhitespace": true,
1617
},
1718
"[asciidoc]": {
1819
"editor.detectIndentation": false,
1920
"editor.insertSpaces": true,
2021
"editor.tabSize": 2,
21-
"editor.wordWrap": "off",
22-
"files.trimTrailingWhitespace": true,
2322
},
2423
"[shellscript]": {
2524
"editor.detectIndentation": false,
2625
"editor.insertSpaces": false,
2726
"editor.tabSize": 8,
28-
"editor.wordWrap": "off",
29-
"files.trimTrailingWhitespace": true,
3027
},
3128
"files.associations": {
3229
"*.adoc": "asciidoc",

0 commit comments

Comments
 (0)