From: Johannes Schindelin <johannes.schindelin@xxxxxx> When configuring VS Code as core.editor (via `code --wait`), we really want to adhere to the Git conventions of wrapping commit messages. Signed-off-by: Johannes Schindelin <johannes.schindelin@xxxxxx> --- contrib/vscode/init.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/contrib/vscode/init.sh b/contrib/vscode/init.sh index ba9469226..face115e8 100755 --- a/contrib/vscode/init.sh +++ b/contrib/vscode/init.sh @@ -17,6 +17,10 @@ cat >.vscode/settings.json.new <<\EOF || { "C_Cpp.intelliSenseEngine": "Default", "C_Cpp.intelliSenseEngineFallback": "Disabled", + "[git-commit]": { + "editor.wordWrap": "wordWrapColumn", + "editor.wordWrapColumn": 72 + }, "files.associations": { "*.h": "c", "*.c": "c" -- gitgitgadget