summaryrefslogtreecommitdiff
path: root/queries/gdscript
diff options
context:
space:
mode:
Diffstat (limited to 'queries/gdscript')
-rw-r--r--queries/gdscript/highlights.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/queries/gdscript/highlights.scm b/queries/gdscript/highlights.scm
index a65afdc7..d86e4c1d 100644
--- a/queries/gdscript/highlights.scm
+++ b/queries/gdscript/highlights.scm
@@ -27,11 +27,11 @@
;; Identifier naming conventions
((identifier) @type
- (#match? @type "^[A-Z]"))
+ (#lua-match? @type "^[A-Z]"))
((identifier) @constant
- (#match? @constant "^[A-Z][A-Z_0-9]*$"))
+ (#lua-match? @constant "^[A-Z][A-Z_0-9]*$"))
((identifier) @type
- (#match? @type "^[A-Z][A-Z_0-9]*$") . (_))
+ (#lua-match? @type "^[A-Z][A-Z_0-9]*$") . (_))
;; Functions
(constructor_definition) @constructor