mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-03 15:14:35 +00:00
Update cspell.json files with more words and better regexps
* Add some more words to the word lists * Ignore anything that looks like a crate path in rust * Ignore everything that looks like a color encoding (AARRGGBB and similar strings) * Change regexp about `#[cfg...]` and `#[repr...]` in rust: Require a word boundary (space/opening parens/whatever) after the string. * Ignore `Qt_...` in rust.
This commit is contained in:
parent
cf85c40a1b
commit
dfb21b23ca
1 changed files with 29 additions and 16 deletions
45
cspell.json
45
cspell.json
|
@ -5,35 +5,30 @@
|
|||
{
|
||||
"languageId": "rust",
|
||||
"words": [
|
||||
"bindgen",
|
||||
"builtins",
|
||||
"concat",
|
||||
"Consts",
|
||||
"corelib",
|
||||
"evenodd",
|
||||
"femtovg",
|
||||
"Flickable",
|
||||
"fullscreen",
|
||||
"itertools",
|
||||
"MaybeUninit",
|
||||
"peekable",
|
||||
"Realloc",
|
||||
"Rgba",
|
||||
"rtti",
|
||||
"triomphe",
|
||||
"uninit",
|
||||
"unmap",
|
||||
"viewbox",
|
||||
"wasm",
|
||||
"winit"
|
||||
"unsync",
|
||||
"viewbox"
|
||||
],
|
||||
"ignoreRegExpList": [
|
||||
"/#\\[cfg(.+)\\]/",
|
||||
"/#\\[repr(.+)\\]/",
|
||||
// Excludes various crate paths
|
||||
"/crate::(.+)/",
|
||||
"/winit::(.+)/",
|
||||
"/core::(.+)/",
|
||||
"/std::(.+)/"
|
||||
"/#\\[cfg\\b.+\\]/",
|
||||
"/#\\[repr\\b.+\\]/",
|
||||
// Exclude crate paths
|
||||
"/(\\b|::)[a-z0-9_]+::/",
|
||||
"/::[a-z0-9_]+(\\b|::)/",
|
||||
// Qt things:
|
||||
"/\\bQt_[a-zA-Z0-9_]+/"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -59,26 +54,44 @@
|
|||
}
|
||||
],
|
||||
"words": [
|
||||
"Bezier",
|
||||
"cbindgen",
|
||||
"cmake",
|
||||
"colspan",
|
||||
"datastructures",
|
||||
"Goffart",
|
||||
"gradians",
|
||||
"Hausmann",
|
||||
"Helvetica",
|
||||
"layouting", // This would be worth renaming in the ItemVTable to layout_info
|
||||
"linebreak",
|
||||
"listview",
|
||||
"lvalue",
|
||||
"MSVC",
|
||||
"rowspan",
|
||||
"rustc",
|
||||
"rvalue",
|
||||
"SDK",
|
||||
"sixtyfps",
|
||||
"SPDX",
|
||||
"streetsidesoftware",
|
||||
"testcase",
|
||||
"tmpobj",
|
||||
"toolchain",
|
||||
"vtable"
|
||||
"uncompiled",
|
||||
"untracked",
|
||||
"vtable",
|
||||
"wasm",
|
||||
"xtask"
|
||||
],
|
||||
"ignorePaths": [
|
||||
"cspell.json",
|
||||
"api/sixtyfps-cpp/docs/conf.py"
|
||||
],
|
||||
"ignoreRegExpList": [
|
||||
// Color encodings in all languages:
|
||||
"/\\b(0x|#)?[argbARGB]+\\b/"
|
||||
],
|
||||
"overrides": [
|
||||
{
|
||||
"filename": "**/*.rst",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue