зеркало из https://github.com/microsoft/git.git
vscode: use 8-space tabs, no trailing ws, etc for Git's source code
This adds a couple settings for the .c/.h files so that it is easier to conform to Git's conventions while editing the source code. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Родитель
f2a3b68394
Коммит
5482f418f5
|
@ -21,6 +21,14 @@ cat >.vscode/settings.json.new <<\EOF ||
|
|||
"editor.wordWrap": "wordWrapColumn",
|
||||
"editor.wordWrapColumn": 72
|
||||
},
|
||||
"[c]": {
|
||||
"editor.detectIndentation": false,
|
||||
"editor.insertSpaces": false,
|
||||
"editor.tabSize": 8,
|
||||
"editor.wordWrap": "wordWrapColumn",
|
||||
"editor.wordWrapColumn": 80,
|
||||
"files.trimTrailingWhitespace": true
|
||||
},
|
||||
"files.associations": {
|
||||
"*.h": "c",
|
||||
"*.c": "c"
|
||||
|
|
Загрузка…
Ссылка в новой задаче