From 5c4342caa48b92d3c01e5dcf1ce5b86678afb72c Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Sat, 31 Aug 2024 03:44:02 +0200 Subject: [PATCH] Fix keywords for Vector in GDScript syntax highlighting - Add Vector4 and Vector4i to syntax highlighting. - Removed nonexistent PackedVector2iArray and PackedVector3iArray. --- _extensions/gdscript.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_extensions/gdscript.py b/_extensions/gdscript.py index 87fad6d44a3..5da987c462f 100644 --- a/_extensions/gdscript.py +++ b/_extensions/gdscript.py @@ -341,6 +341,8 @@ def innerstring_rules(ttype): "AABB", "Plane", "Quaternion", + "Vector4", + "Vector4i", "Basis", "Transform3D", "Color", @@ -355,9 +357,7 @@ def innerstring_rules(ttype): "PackedFloat64Array", "PackedStringArray", "PackedVector2Array", - "PackedVector2iArray", "PackedVector3Array", - "PackedVector3iArray", "PackedVector4Array", "PackedColorArray", "null",