File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ the available version of Tree-sitter for PHP."
152
152
`((relative_scope) @font-lock-builtin-face
153
153
154
154
((name) @font-lock-constant-face
155
- (:match ,(rx-to-string '(: bos (? " _" ) (in " A-Z" ) (or ( in " A-Z " ) digit " _ " ) eos) )
155
+ (:match ,(rx bos (? " _" ) (in " A-Z" ) (in " 0-9A-Z_ " ) eos)
156
156
@font-lock-constant-face))
157
157
((name) @font-lock-builtin-face
158
158
(:match ,(rx-to-string `(: bos (or ,@php-ts-mode--magical-constants ) eos))
@@ -170,7 +170,7 @@ the available version of Tree-sitter for PHP."
170
170
:language 'php
171
171
:feature 'comment
172
172
`(((comment) @font-lock-doc-face
173
- (:match ,(rx-to-string '(: bos " /**" ) )
173
+ (:match ,(rx bos " /**" )
174
174
@font-lock-doc-face))
175
175
(comment) @font-lock-comment-face)
176
176
You can’t perform that action at this time.
0 commit comments