@cspell/dict-rust 4.0.2 → 4.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cspell-ext.json +2 -2
- package/dict/rust.txt +2 -0
- package/package.json +9 -5
package/cspell-ext.json
CHANGED
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
// Generally left empty
|
|
17
17
|
"dictionaries": [],
|
|
18
18
|
// Language Rules to apply to matching files.
|
|
19
|
-
// Files are matched on `languageId` and `
|
|
19
|
+
// Files are matched on `languageId` and `locale`
|
|
20
20
|
"languageSettings": [
|
|
21
21
|
{
|
|
22
22
|
// VSCode languageId. i.e. typescript, java, go, cpp, javascript, markdown, latex
|
|
23
23
|
// * will match against any file type.
|
|
24
24
|
"languageId": "rust",
|
|
25
|
-
// Language
|
|
25
|
+
// Language locale. i.e. en-US, de-AT, or ru. * will match all locals.
|
|
26
26
|
// Multiple locals can be specified like: "en, en-US" to match both English and English US.
|
|
27
27
|
"locale": "*",
|
|
28
28
|
// By default the whole text of a file is included for spell checking
|
package/dict/rust.txt
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cspell/dict-rust",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.3",
|
|
4
4
|
"description": "Rust dictionary for cspell.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -12,13 +12,14 @@
|
|
|
12
12
|
},
|
|
13
13
|
"scripts": {
|
|
14
14
|
"build": "cspell-tools-cli compile --keep-raw-case src/rust.txt --no-compress -o ./dict",
|
|
15
|
-
"test": "shx head -n 1000 src/rust.txt | cspell -
|
|
15
|
+
"test": "shx head -n 1000 src/rust.txt | cspell -c ./cspell-ext.json --locale=* --languageId=rust stdin",
|
|
16
16
|
"prepublishOnly": "echo pre-publish",
|
|
17
17
|
"prepare:dictionary": "pnpm run build"
|
|
18
18
|
},
|
|
19
19
|
"repository": {
|
|
20
20
|
"type": "git",
|
|
21
|
-
"url": "
|
|
21
|
+
"url": "https://github.com/streetsidesoftware/cspell-dict.git",
|
|
22
|
+
"directory": "dictionaries/rust"
|
|
22
23
|
},
|
|
23
24
|
"keywords": [
|
|
24
25
|
"cspell",
|
|
@@ -27,7 +28,10 @@
|
|
|
27
28
|
"dictionary",
|
|
28
29
|
"spelling"
|
|
29
30
|
],
|
|
30
|
-
"author": "
|
|
31
|
+
"author": "Street Side Software <support@streetsidesoftware.nl>",
|
|
32
|
+
"contributors": [
|
|
33
|
+
"Alexander Andreev"
|
|
34
|
+
],
|
|
31
35
|
"license": "MIT",
|
|
32
36
|
"bugs": {
|
|
33
37
|
"url": "https://github.com/streetsidesoftware/cspell-dicts/issues"
|
|
@@ -37,5 +41,5 @@
|
|
|
37
41
|
"dict/rust.txt",
|
|
38
42
|
"cspell-ext.json"
|
|
39
43
|
],
|
|
40
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "473c4461fc71723254f162feb4480684d1f53d96"
|
|
41
45
|
}
|