Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Commit

Permalink
Merge pull request #12 from SpainTrain/add-scope
Browse files Browse the repository at this point in the history
Add `text.md` scope
  • Loading branch information
steelbrain committed Dec 10, 2015
2 parents 7718264 + c996db9 commit a7819e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/linter.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ errorLoadingConfig = (error, filePath) ->

module.exports = new class # This only needs to be a class to bind lint()

grammarScopes: ['source.gfm', 'source.pfm']
grammarScopes: ['source.gfm', 'source.pfm', 'text.md']
scope: "file"
lintOnFly: true

Expand Down Expand Up @@ -61,7 +61,7 @@ module.exports = new class # This only needs to be a class to bind lint()
fin = new Configuration {detectRC: true}
conf = fin.getConfiguration filePath, (err, conf) ->
if err
errorLoadingConfig(e, filePath).then(resolve, reject);
errorLoadingConfig(e, filePath).then(resolve, reject)
return

# Load processor for current path
Expand Down

0 comments on commit a7819e4

Please sign in to comment.