vscode: add a dictionary for cSpell
The quite useful cSpell extension allows VS Code to have "squiggly" lines under spelling mistakes. By default, this would add too much clutter, though, because so much of Git's source code uses words that would trigger cSpell. Let's add a few words to make the spell checking more useful by reducing the number of false positives. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
parent
5482f418f5
commit
2a2cdd069a
|
|
@ -32,7 +32,174 @@ cat >.vscode/settings.json.new <<\EOF ||
|
|||
"files.associations": {
|
||||
"*.h": "c",
|
||||
"*.c": "c"
|
||||
}
|
||||
},
|
||||
"cSpell.words": [
|
||||
"DATAW",
|
||||
"DBCACHED",
|
||||
"DFCHECK",
|
||||
"DTYPE",
|
||||
"Hamano",
|
||||
"HCAST",
|
||||
"HEXSZ",
|
||||
"HKEY",
|
||||
"HKLM",
|
||||
"IFGITLINK",
|
||||
"IFINVALID",
|
||||
"ISBROKEN",
|
||||
"ISGITLINK",
|
||||
"ISSYMREF",
|
||||
"Junio",
|
||||
"LPDWORD",
|
||||
"LPPROC",
|
||||
"LPWSTR",
|
||||
"MSVCRT",
|
||||
"NOARG",
|
||||
"NOCOMPLETE",
|
||||
"NOINHERIT",
|
||||
"RENORMALIZE",
|
||||
"STARTF",
|
||||
"STARTUPINFOEXW",
|
||||
"Schindelin",
|
||||
"UCRT",
|
||||
"YESNO",
|
||||
"argcp",
|
||||
"beginthreadex",
|
||||
"committish",
|
||||
"contentp",
|
||||
"cpath",
|
||||
"cpidx",
|
||||
"ctim",
|
||||
"dequote",
|
||||
"envw",
|
||||
"ewah",
|
||||
"fdata",
|
||||
"fherr",
|
||||
"fhin",
|
||||
"fhout",
|
||||
"fragp",
|
||||
"fsmonitor",
|
||||
"hnsec",
|
||||
"idents",
|
||||
"includeif",
|
||||
"interpr",
|
||||
"iprog",
|
||||
"isexe",
|
||||
"iskeychar",
|
||||
"kompare",
|
||||
"mksnpath",
|
||||
"mktag",
|
||||
"mktree",
|
||||
"mmblob",
|
||||
"mmbuffer",
|
||||
"mmfile",
|
||||
"noenv",
|
||||
"nparents",
|
||||
"ntpath",
|
||||
"ondisk",
|
||||
"ooid",
|
||||
"oplen",
|
||||
"osdl",
|
||||
"pnew",
|
||||
"pold",
|
||||
"ppinfo",
|
||||
"pushf",
|
||||
"pushv",
|
||||
"rawsz",
|
||||
"rebasing",
|
||||
"reencode",
|
||||
"repo",
|
||||
"rerere",
|
||||
"scld",
|
||||
"sharedrepo",
|
||||
"spawnv",
|
||||
"spawnve",
|
||||
"spawnvpe",
|
||||
"strdup'ing",
|
||||
"submodule",
|
||||
"submodules",
|
||||
"topath",
|
||||
"topo",
|
||||
"tpatch",
|
||||
"unexecutable",
|
||||
"unhide",
|
||||
"unkc",
|
||||
"unkv",
|
||||
"unmark",
|
||||
"unmatch",
|
||||
"unsets",
|
||||
"unshown",
|
||||
"untracked",
|
||||
"untrackedcache",
|
||||
"unuse",
|
||||
"upos",
|
||||
"uval",
|
||||
"vreportf",
|
||||
"wargs",
|
||||
"wargv",
|
||||
"wbuffer",
|
||||
"wcmd",
|
||||
"wcsnicmp",
|
||||
"wcstoutfdup",
|
||||
"wdeltaenv",
|
||||
"wdir",
|
||||
"wenv",
|
||||
"wenvblk",
|
||||
"wenvcmp",
|
||||
"wenviron",
|
||||
"wenvpos",
|
||||
"wenvsz",
|
||||
"wfile",
|
||||
"wfilename",
|
||||
"wfopen",
|
||||
"wfreopen",
|
||||
"wfullpath",
|
||||
"which'll",
|
||||
"wlink",
|
||||
"wmain",
|
||||
"wmkdir",
|
||||
"wmktemp",
|
||||
"wnewpath",
|
||||
"wotype",
|
||||
"wpath",
|
||||
"wpathname",
|
||||
"wpgmptr",
|
||||
"wpnew",
|
||||
"wpointer",
|
||||
"wpold",
|
||||
"wpos",
|
||||
"wputenv",
|
||||
"wrmdir",
|
||||
"wship",
|
||||
"wtarget",
|
||||
"wtemplate",
|
||||
"wunlink",
|
||||
"xcalloc",
|
||||
"xgetcwd",
|
||||
"xmallocz",
|
||||
"xmemdupz",
|
||||
"xmmap",
|
||||
"xopts",
|
||||
"xrealloc",
|
||||
"xsnprintf",
|
||||
"xutftowcs",
|
||||
"xutftowcsn",
|
||||
"xwcstoutf"
|
||||
],
|
||||
"cSpell.ignoreRegExpList": [
|
||||
"\\\"(DIRC|FSMN|REUC|UNTR)\\\"",
|
||||
"\\\\u[0-9a-fA-Fx]{4}\\b",
|
||||
"\\b(filfre|frotz|xyzzy)\\b",
|
||||
"\\bCMIT_FMT_DEFAULT\\b",
|
||||
"\\bde-munge\\b",
|
||||
"\\bGET_OID_DISAMBIGUATORS\\b",
|
||||
"\\bHASH_RENORMALIZE\\b",
|
||||
"\\bTREESAMEness\\b",
|
||||
"\\bUSE_STDEV\\b",
|
||||
"\\Wchar *\\*\\W*utfs\\W",
|
||||
"cURL's",
|
||||
"nedmalloc'ed",
|
||||
"ntifs\\.h",
|
||||
],
|
||||
}
|
||||
EOF
|
||||
die "Could not write settings.json"
|
||||
|
|
|
|||
Loading…
Reference in New Issue