Skip to content

Commit d1f4ef9

Browse files
committed
fix missing completions for component args in hbs
1 parent 3e5e171 commit d1f4ef9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/kotlin/com/emberjs/hbs/TagReferencesProvider.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,9 @@ fun toAttributeReference(target: XmlAttribute): PsiReference? {
199199
if (name.length == 1) {
200200
return null
201201
}
202+
if (!name.contains("|")) {
203+
return null
204+
}
202205
var range = TextRange(0, name.length)
203206
if (name.startsWith("|")) {
204207
range = TextRange(1, range.endOffset)

0 commit comments

Comments
 (0)