Skip to content

Commit b9c628b

Browse files
committed
vscode: let cSpell work on commit messages, too
By default, the cSpell extension ignores all files under .git/. That includes, unfortunately, COMMIT_EDITMSG, i.e. commit messages. However, spell checking is *quite* useful when writing commit messages... And since the user hardly ever opens any file inside .git (apart from commit messages, the config, and sometimes interactive rebase's todo lists), there is really not much harm in *not* ignoring .git/. The default also ignores `node_modules/`, but that does not apply to Git, so let's skip ignoring that, too. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 358f38d commit b9c628b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

contrib/vscode/init.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ cat >.vscode/settings.json.new <<\EOF ||
3333
"*.h": "c",
3434
"*.c": "c"
3535
},
36+
"cSpell.ignorePaths": [
37+
],
3638
"cSpell.words": [
3739
"DATAW",
3840
"DBCACHED",

0 commit comments

Comments
 (0)