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

Add text.md scope #12

Merged
merged 1 commit into from
Dec 10, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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