Skip to content

Commit

Permalink
CHE-5334. Fix hover state
Browse files Browse the repository at this point in the history
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
  • Loading branch information
RomanNikitenko committed Aug 8, 2017
1 parent f563b13 commit d50939f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,8 @@ public CompletableFuture<Hover> start(InitializedLanguageServer element) {
@Override
public boolean handleResult(InitializedLanguageServer element, Hover hover) {
if (hover != null) {
result.getContents().addAll(hover.getContents());
HoverDto hoverDto = new HoverDto(hover);
result.getContents().addAll(hoverDto.getContents());
}
return true;
}
Expand Down

0 comments on commit d50939f

Please sign in to comment.