Skip to content
Permalink
Browse files

Add Italian Language

  • Loading branch information
babyraging committed Oct 22, 2019
1 parent e67ba13 commit 2722bb062b8d917599f43337ee9b37e055245d6e
@@ -14,6 +14,7 @@ Various [cspell](https://github.com/Jason3S/cspell) dictionaries. Each dictionar
- [German](packages/de_DE)
- [Greek](packages/el)
- [Hebrew](packages/he)
- [Italian](packages/it_IT)
- [Persian](packages/fa_IR)
- [Polish](packages/pl_PL)
- [Portuguese - Brazilian](packages/pt_BR)
@@ -0,0 +1,4 @@
# Change Log

## 1.0.0
- Initial Release

Large diffs are not rendered by default.

@@ -0,0 +1,45 @@
# Cspell Italian Dictionary

Italian dictionary for cspell.

This is a pre-built dictionary for use with cspell.

## Installation

Global Install and add to cspell global settings.

```sh
npm install -g cspell-dict-it-it
cspell-dict-it-it-link
```

## Uninstall from cspell

```sh
cspell-dict-it-it-unlink
```

## Manual Installation

The `cspell-ext.json` file in this package should be added to the import section in your cspell.json file.

```javascript
{
//
"import": ["<path to node_modules>/cspell-dict-it-it/cspell-ext.json"],
//
}
```

## Building

Building is only necessary if you want to modify the contents of the dictionary. Note: Building will take a few minutes for large files.

```sh
npm run build
```

## License

MIT
> Some packages may have other licenses included.
@@ -0,0 +1,42 @@
// cSpell Settings
{
"id": "it-it",
"name": "Italian",
"description": "Italian dictionary for cspell.",
// List of dictionary files to add to the global list of dictionaries
"dictionaryDefinitions": [
{
"name": "it-it",
"file": "./it_IT.trie.gz",
"description": "Italian dictionary for cspell."
}
],
// Dictionaries to always be used.
// Generally left empty
"dictionaries": [],
// Language Rules to apply to matching files.
// Files are matched on `languageId` and `local`
"languageSettings": [
{
// VSCode languageId. i.e. typescript, java, go, cpp, javascript, markdown, latex
// * will match against any file type.
"languageId": "*",
// Language local. i.e. en-US, de-AT, or ru. * will match all locals.
// Multiple locals can be specified like: "en, en-US" to match both English and English US.
"local": "it,it-IT",
// By default the whole text of a file is included for spell checking
// Adding patterns to the "includeRegExpList" to only include matching patterns
"includeRegExpList": [],
// To exclude patterns, add them to "ignoreRegExpList"
"ignoreRegExpList": [],
// regex patterns than can be used with ignoreRegExpList or includeRegExpList
// Example: "pattern": [{ "name": "mdash", "pattern": "&mdash;" }]
// This could be included in "ignoreRegExpList": ["mdash"]
"patterns": [],
// List of dictionaries to enable by name in `dictionaryDefinitions`
"dictionaries": ["it-it"],
// Dictionary definitions can also be supplied here. They are only used iff "languageId" and "local" match.
"dictionaryDefinitions": []
}
]
}
@@ -0,0 +1 @@
export function getConfigLocation(): string;
@@ -0,0 +1,11 @@
'use strict';

var util = require('./util');

function getConfigLocation() {
return util.configLocation;
}

module.exports = {
getConfigLocation,
};

0 comments on commit 2722bb0

Please sign in to comment.
You can’t perform that action at this time.