aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/php/highlights.scm
diff options
context:
space:
mode:
authorMichael Davis2021-10-16 09:02:06 +0000
committerGitHub2021-10-16 09:02:06 +0000
commitbe428a295a0884ed0523a8a995e913ee1c863b60 (patch)
treed43cc50d602edc29e8ae6495deca7fbd86d28645 /runtime/queries/php/highlights.scm
parente069fb9dea0d41eedb9257050f2231b7b0b88d0e (diff)
fix digit escapes in java & php highlights (#846)
Diffstat (limited to 'runtime/queries/php/highlights.scm')
-rw-r--r--runtime/queries/php/highlights.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/queries/php/highlights.scm b/runtime/queries/php/highlights.scm
index 83850403..02904555 100644
--- a/runtime/queries/php/highlights.scm
+++ b/runtime/queries/php/highlights.scm
@@ -42,7 +42,7 @@
(relative_scope) @variable.builtin
((name) @constant
- (#match? @constant "^_?[A-Z][A-Z\d_]+$"))
+ (#match? @constant "^_?[A-Z][A-Z\\d_]+$"))
((name) @constructor
(#match? @constructor "^[A-Z]"))