From 60fc361f1f3d2215067036f77ea249d595d6492d Mon Sep 17 00:00:00 2001 From: Nathan Lovato <12694995+NathanLovato@users.noreply.github.com> Date: Sun, 11 Aug 2024 20:35:05 +0200 Subject: [PATCH] improvement: only outline properties, methods, and static functions; not local variables and lambdas #22 --- languages/gdscript/outline.scm | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/languages/gdscript/outline.scm b/languages/gdscript/outline.scm index 6800da1..ebe0d30 100644 --- a/languages/gdscript/outline.scm +++ b/languages/gdscript/outline.scm @@ -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