Skip to content

Commit 23cc216

Browse files
committed
Fix local variables find usages
1 parent 7d971b3 commit 23cc216

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
### Fixed
55

66
- Fix documentation for empty scripts.
7+
- Fix local variables find usages.
78

89
## [1.4.0] - 2023-10-15
910

src/main/kotlin/io/runescript/plugin/lang/psi/mixin/RsLocalVariableExpressionMixin.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ abstract class RsLocalVariableExpressionMixin : StubBasedPsiElementBase<RsLocalV
2727
return if (doc != null) {
2828
LocalSearchScope(arrayOf(script, doc))
2929
} else {
30-
LocalSearchScope(this)
30+
LocalSearchScope(script)
3131
}
3232
}
3333

0 commit comments

Comments
 (0)