aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/gdscript/highlights.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/gdscript/highlights.scm')
-rw-r--r--runtime/queries/gdscript/highlights.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/queries/gdscript/highlights.scm b/runtime/queries/gdscript/highlights.scm
index 0849eedb..f36f4e35 100644
--- a/runtime/queries/gdscript/highlights.scm
+++ b/runtime/queries/gdscript/highlights.scm
@@ -3,6 +3,11 @@
((identifier) @constant
(#match? @constant "^[A-Z][A-Z_]*$"))
+; class
+(class_name_statement (name) @type)
+(class_definition (name) @type)
+
+
; Function calls
(attribute_call (identifier) @function)