Skip to content

Commit

Permalink
hotfix for completion after semicolon
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeyhew committed Mar 31, 2017
1 parent e40a783 commit 148f6ea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/racer-provider.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,8 @@ class RacerProvider
suggestion

findSuggestionsForPrefix: (prefix, completions) ->
if prefix.slice(-1).match(/;/g)
return []
if completions?.length
# Sort the candidates
words = _.sortBy( completions, (e) => e.word )
Expand Down

0 comments on commit 148f6ea

Please sign in to comment.