Browse Source

Added missing Rect2 built in type

Daniel J. Ramirez 9 years ago
parent
commit
4d86dc2fe3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      extensions/gdscript.py

+ 1 - 1
extensions/gdscript.py

@@ -116,7 +116,7 @@ class GDScriptLexer(RegexLexer):
                 'Matrix32', 'Array', 'ByteArray', 'IntArray', 'FloatArray',
                 'StringArray', 'Vector2Array', 'Vector3Array', 'ColorArray',
                 'Plane', 'Quat', 'AABB', 'Matrix3', 'Transform', 'Color',
-                'Image', 'NodePath', 'RID', 'Object', 'InputEvent',
+                'Image', 'NodePath', 'RID', 'Object', 'InputEvent', 'Rect2'
             ), prefix=r'(?<!\.)', suffix=r'\b'), Name.Builtin.Type),
         ],
         'numbers': [