Skip to content

Commit

Permalink
Add linter-spell support.
Browse files Browse the repository at this point in the history
  • Loading branch information
renpytom committed Feb 24, 2019
1 parent 48cd141 commit cf665f5
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 3 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
## 2.4.0
## 2.5.0
* Update for Ren'Py 7.1.4.
* Add support for spell-checking using linter-spell.

## 2.3.0
## 2.3.0 / 2.4.0
* Add support for the new layered image sublangage.

## 2.2.0
Expand Down
18 changes: 18 additions & 0 deletions lib/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
'use babel'

export default {

provideGrammar () {
return [{
grammarScopes: ['source.renpy'],
checkedScopes: {
"constant.other.placeholder.tags.renpy" : false,
"string.quoted.double.single-line.python.renpy" : true,
"string.quoted.single.single-line.python.renpy" : true,
"string.quoted.double.block.python.renpy" : true,
"string.quoted.single.block.python.renpy" : true,
}
}]
}

}
12 changes: 11 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"name": "language-renpy",
"main": "./lib/main",
"version": "2.4.0",
"engines": {
"atom": "*",
"node": "*"
},
"description": "Ren'py language support in Atom",
"description": "Ren'Py language support in Atom",
"keywords": [
"language",
"grammar",
Expand All @@ -23,5 +24,14 @@
"license": "MIT",
"bugs": {
"url": "https://github.com/renpy/language-renpy/issues"
},
"providedServices": {
"linter-spell-grammar": {
"versions": {
"1.0.0": "provideGrammar"
}
}
}


}

0 comments on commit cf665f5

Please sign in to comment.