Skip to content

Commit

Permalink
fixed incorrect access to the completion json returned by eclim
Browse files Browse the repository at this point in the history
  • Loading branch information
eugen committed Jul 10, 2012
1 parent 1c99d7f commit 57362d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subclim_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ def call_eclim_scala(self, project, file, offset, shell=True):

def to_proposals(self, eclim_output):
proposals = []
completions = json.loads(eclim_output)
completions = json.loads(eclim_output)["completions"]
for c in completions:
if not "<br/>" in c['info']: # no overloads
proposals.append(CompletionProposal(c['info'], c['completion']))
Expand Down

0 comments on commit 57362d5

Please sign in to comment.