Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.

Commit 2b5b906

Browse files
committed
Add missing node for annotation
1 parent 029ff29 commit 2b5b906

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

languages/tree-sitter-stack-graphs-java/src/stack-graphs.tsg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@ attribute node_symbol = node => symbol = (source-text node), source_n
290290

291291
(annotation name: (_) @name) @this {
292292
node @this.ref
293+
node @this.lexical_scope
293294
attr (@this.ref) node_reference = @name
294295
}
295296

0 commit comments

Comments
 (0)