Skip to content

Commit

Permalink
feat: Upgrade cpp dictionary (#2794)
Browse files Browse the repository at this point in the history
* feat: Upgrade `cpp` dictionary

**Semi-Breaking change**

`allowCompoundWords` is no-longer `true` by default.

If you want the old behavior, add the following to your `cspell.json` file:

**`cspell.json`**
```json
{
    "languageSettings": [
        {
            "languageId": "c,cpp",
            "allowCompoundWords": true
        }
    ]
}
```

* Update snapshots and tests
  • Loading branch information
Jason3S committed May 4, 2022
1 parent 64c11da commit e51f7f4
Show file tree
Hide file tree
Showing 10 changed files with 81,483 additions and 8,390 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/integration-test.yml
Expand Up @@ -33,6 +33,8 @@ jobs:
runs-on: ${{ matrix.os }}

strategy:
# the integration tests are independent, so we want to run them all.
fail-fast: false
matrix:
node-version:
- 16.x
Expand Down
4,984 changes: 3,902 additions & 1,082 deletions integration-tests/snapshots/alexiosc/megistos/report.yaml

Large diffs are not rendered by default.

3,936 changes: 3,378 additions & 558 deletions integration-tests/snapshots/alexiosc/megistos/snapshot.txt

Large diffs are not rendered by default.

7,227 changes: 5,409 additions & 1,818 deletions integration-tests/snapshots/php/php-src/report.yaml

Large diffs are not rendered by default.

6,327 changes: 4,959 additions & 1,368 deletions integration-tests/snapshots/php/php-src/snapshot.txt

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions packages/cspell-bundled-dicts/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/cspell-bundled-dicts/package.json
Expand Up @@ -47,7 +47,7 @@
"@cspell/dict-aws": "^2.0.0",
"@cspell/dict-bash": "^2.0.2",
"@cspell/dict-companies": "^2.0.4",
"@cspell/dict-cpp": "^2.0.3",
"@cspell/dict-cpp": "^3.0.1",
"@cspell/dict-cryptocurrencies": "^2.0.0",
"@cspell/dict-csharp": "^3.0.1",
"@cspell/dict-css": "^2.0.0",
Expand Down

0 comments on commit e51f7f4

Please sign in to comment.