Skip to content

Commit

Permalink
Update scopes to source.tsx
Browse files Browse the repository at this point in the history
Closes #673
  • Loading branch information
blakeembrey committed Oct 21, 2015
1 parent 729b552 commit beb9d0b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/linter.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ var fs = require('fs');
var atom_1 = require("atom");
exports.provider = {
name: 'TS',
grammarScopes: ['source.ts', 'source.ts.tsx'],
grammarScopes: ['source.ts', 'source.tsx'],
scope: 'file',
lintOnFly: true,
lint: function (textEditor) {
Expand Down
2 changes: 1 addition & 1 deletion dist/main/atom/autoCompleteProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function triggerAutocompletePlus() {
}
exports.triggerAutocompletePlus = triggerAutocompletePlus;
exports.provider = {
selector: '.source.ts',
selector: '.source.ts, .source.tsx',
inclusionPriority: 3,
suggestionPriority: 3,
excludeLowerPriority: false,
Expand Down
2 changes: 1 addition & 1 deletion lib/linter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ interface LinterMessage {

export var provider = {
name: 'TS',
grammarScopes: ['source.ts', 'source.ts.tsx'],
grammarScopes: ['source.ts', 'source.tsx'],
scope: 'file', // # or 'project'
lintOnFly: true, // # must be false for scope: 'project'
lint: (textEditor: AtomCore.IEditor): Promise<LinterMessage[]> => {
Expand Down
2 changes: 1 addition & 1 deletion lib/main/atom/autoCompleteProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ interface SnippetsContianer {
}

export var provider: autocompleteplus.Provider = {
selector: '.source.ts',
selector: '.source.ts, .source.tsx',
inclusionPriority: 3,
suggestionPriority: 3,
excludeLowerPriority: false,
Expand Down

0 comments on commit beb9d0b

Please sign in to comment.