Skip to content

Commit

Permalink
make sure completions are unique (#712)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj authored Aug 17, 2018
1 parent 81d98a3 commit 88e47e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handlers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ function complete_request(socket, msg)
comps_, positions = REPLCompletions.completions(code[codestart:end], cursorpos-codestart+1)
end
@static if isdefined(REPLCompletions, :completion_text)
comps = REPLCompletions.completion_text.(comps_) # julia#26930
comps = unique!(REPLCompletions.completion_text.(comps_)) # julia#26930
else
comps = comps_
end
Expand Down

0 comments on commit 88e47e7

Please sign in to comment.