Skip to content

Commit

Permalink
improvement: only outline properties, methods, and static functions; …
Browse files Browse the repository at this point in the history
…not local variables and lambdas #22
  • Loading branch information
NathanLovato committed Aug 11, 2024
1 parent 7e92612 commit 60fc361
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions languages/gdscript/outline.scm
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,6 @@
"signal" @context
(name) @name) @item

; Annotated variables use sibling nodes to store the annotation
; TODO: find a way to capture the annotation in the outline to distinguish
; annotated variables from regular variables
(_
(annotation) @context
(variable_statement
"var" @context
name: (_) @name
)
) @item
(enum_definition
"enum" @context
name: (_) @name) @item

0 comments on commit 60fc361

Please sign in to comment.