Skip to content

Commit

Permalink
be higher priority compared to snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
angelestelar5z authored and basarat committed May 19, 2015
1 parent 5ce13b2 commit cd6475a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dist/main/atom/autoCompleteProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ function loadSnippets() {
loadSnippets();
exports.provider = {
selector: '.source.ts',
inclusionPriority: 3,
excludeLowerPriority: false,
getSuggestions: function (options) {
var filePath = options.editor.getPath();
if (!filePath)
Expand Down
2 changes: 2 additions & 0 deletions lib/main/atom/autoCompleteProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ loadSnippets();

export var provider: autocompleteplus.Provider = {
selector: '.source.ts',
inclusionPriority: 3,
excludeLowerPriority: false,
getSuggestions: (options: autocompleteplus.RequestOptions): Promise<autocompleteplus.Suggestion[]>=> {
var filePath = options.editor.getPath();

Expand Down

0 comments on commit cd6475a

Please sign in to comment.