From f2a3b6839477fe623edb0d2113a58acac8821596 Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Mon, 30 Jul 2018 08:42:54 -0700 Subject: [PATCH] vscode: wrap commit messages at column 72 by default 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 Signed-off-by: Junio C Hamano --- contrib/vscode/init.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/contrib/vscode/init.sh b/contrib/vscode/init.sh index ba94692268..face115e89 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" -- 2.43.2