From: Johannes Schindelin <johannes.schindelin@xxxxxx> 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@xxxxxx> --- contrib/vscode/init.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/contrib/vscode/init.sh b/contrib/vscode/init.sh index face115e8..29f2a729d 100755 --- a/contrib/vscode/init.sh +++ b/contrib/vscode/init.sh @@ -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" -- gitgitgadget