Skip to content

Commit ac264c5

Browse files
authored
fix LineMarkerInfo (#11)
1 parent 7d314db commit ac264c5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/main/kotlin/com/emberjs/psi/EmberRelationshipAnnotator.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,9 @@ class EmberRelationshipAnnotator : Annotator {
4343
// Create an annotation with a gutter icon renderer
4444
holder.createInfoAnnotation(identifier, null).apply {
4545
val navHandler = DefaultGutterIconNavigationHandler<PsiElement>(referencedFiles, name.displayName)
46-
val lmi = LineMarkerInfo(identifier, identifier.textRange, icon, Pass.LINE_MARKERS,
47-
null, navHandler, GutterIconRenderer.Alignment.CENTER)
46+
val lmi = LineMarkerInfo(identifier, identifier.textRange, icon,
47+
null, navHandler, GutterIconRenderer.Alignment.CENTER,
48+
{ "go to related" })
4849

4950
gutterIconRenderer = LineMarkerInfo.LineMarkerGutterIconRenderer(lmi)
5051
}

0 commit comments

Comments
 (0)