Skip to content

Commit

Permalink
Merge pull request #14 from mrglavas/main
Browse files Browse the repository at this point in the history
Increase the timeout for hover to 5 seconds.
  • Loading branch information
mrglavas authored Mar 22, 2024
2 parents b656252 + 96e3b74 commit 014d8ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public List<MarkupContent> getHoverContent(PsiElement element, int targetOffset,
initiateHoverRequest(element, targetOffset);
try {
List<MarkupContent> result = lspRequest
.get(500, TimeUnit.MILLISECONDS).stream()
.get(5000, TimeUnit.MILLISECONDS).stream()
.filter(Objects::nonNull)
.map(LSPTextHoverForFile::getHoverString)
.filter(Objects::nonNull)
Expand Down

0 comments on commit 014d8ef

Please sign in to comment.