Skip to content

Commit

Permalink
Merge pull request #521 from machitgarha/fix-autocompletion
Browse files Browse the repository at this point in the history
Revert prefix override workaround
  • Loading branch information
Gert-dev authored Aug 3, 2021
2 parents 497acaa + 3a40d57 commit a01170a
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions lib/SerenataClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -365,15 +365,6 @@ class SerenataClient extends AutoLanguageClient
return provider;
}

getSuggestions(request) {
// Temporary workaround for the languageclient library applying its own filtering and resorting on top of the
// result list returned by the server, which should be the sole source of truth and not be modified in any
// further way. See also https://github.com/atom/atom-languageclient/issues/218.
request.prefix = '';

return super.getSuggestions(request);
}

filterChangeWatchedFiles(filePath) {
// Prevent changes to the index file from spamming change events.
return !filePath.includes('/.serenata/');
Expand Down

0 comments on commit a01170a

Please sign in to comment.