Skip to content

Commit

Permalink
vscode: let cSpell work on commit messages, too
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
dscho committed Jul 23, 2018
1 parent ce216cf commit 4c2aa01
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions contrib/vscode/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ cat >.vscode/settings.json.new <<\EOF ||
"*.h": "c",
"*.c": "c"
},
"cSpell.ignorePaths": [
],
"cSpell.words": [
"DATAW",
"DBCACHED",
Expand Down

0 comments on commit 4c2aa01

Please sign in to comment.