2
0
Эх сурвалжийг харах

Fix keywords for Vector in GDScript syntax highlighting

- Add Vector4 and Vector4i to syntax highlighting.
- Removed nonexistent PackedVector2iArray and PackedVector3iArray.
Hugo Locurcio 11 сар өмнө
parent
commit
5c4342caa4

+ 2 - 2
_extensions/gdscript.py

@@ -341,6 +341,8 @@ class GDScriptLexer(RegexLexer):
                         "AABB",
                         "Plane",
                         "Quaternion",
+                        "Vector4",
+                        "Vector4i",
                         "Basis",
                         "Transform3D",
                         "Color",
@@ -355,9 +357,7 @@ class GDScriptLexer(RegexLexer):
                         "PackedFloat64Array",
                         "PackedStringArray",
                         "PackedVector2Array",
-                        "PackedVector2iArray",
                         "PackedVector3Array",
-                        "PackedVector3iArray",
                         "PackedVector4Array",
                         "PackedColorArray",
                         "null",