Skip to content

Commit

Permalink
fix: avoid "PsiElement cannot be presented" exception when opening do…
Browse files Browse the repository at this point in the history
…cumentation

Closes: #93
  • Loading branch information
lppedd committed Mar 20, 2023
1 parent 4220326 commit 7d162a7
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,7 @@ internal sealed class CommitTokenPsiElement : PsiElementBase(), ItemPresentation

override fun getLocationString(): String? =
null

override fun getPresentation(): ItemPresentation =
this
}

0 comments on commit 7d162a7

Please sign in to comment.