Skip to content

Commit 384b088

Browse files
committed
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 <[email protected]>
1 parent 3dd53c0 commit 384b088

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

contrib/vscode/init.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ cat >.vscode/settings.json.new <<\EOF ||
1717
{
1818
"C_Cpp.intelliSenseEngine": "Default",
1919
"C_Cpp.intelliSenseEngineFallback": "Disabled",
20+
"[git-commit]": {
21+
"editor.wordWrap": "wordWrapColumn",
22+
"editor.wordWrapColumn": 72
23+
},
2024
"files.associations": {
2125
"*.h": "c",
2226
"*.c": "c"

0 commit comments

Comments
 (0)