forked from streetsidesoftware/cspell-dicts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cspell-ext.json
29 lines (29 loc) · 1.06 KB
/
cspell-ext.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// cSpell Settings
{
"id": "python",
"name": "Python Dictionary",
"description": "Python Keyword Dictionary",
// List of dictionary files to add to the global list of dictionaries
"dictionaryDefinitions": [
{ "name": "python", "file": "./python.txt.gz", "description": "Python Keyword Dictionary" }
],
// Dictionaries to always be used.
// Generally left empty
"dictionaries": [],
// Language Rules to apply to matching files.
// Files are matched on `languageId` and `local`
"languageSettings": [
{
"languageId": "python",
"allowCompoundWords": true,
"dictionaries": ["python"],
"ignoreRegExpList": [ "binary_string", "f_string", "unicode_string", "raw_string" ],
"patterns": [
{ "name": "binary_string", "pattern": "\\bb'" },
{ "name": "f_string", "pattern": "\\bf'" },
{ "name": "unicode_string", "pattern": "\\bu'" },
{ "name": "raw_string", "pattern": "\\bu?r'" }
]
}
]
}