mirror of
https://github.com/git/git.git
synced 2024-11-23 18:05:29 +08:00
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 <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
2a2cdd069a
commit
12861e200a
@ -33,6 +33,8 @@ cat >.vscode/settings.json.new <<\EOF ||
|
||||
"*.h": "c",
|
||||
"*.c": "c"
|
||||
},
|
||||
"cSpell.ignorePaths": [
|
||||
],
|
||||
"cSpell.words": [
|
||||
"DATAW",
|
||||
"DBCACHED",
|
||||
|
Loading…
Reference in New Issue
Block a user