fix digit escapes in java & php highlights (#846)

pull/853/head
Michael Davis 3 years ago committed by GitHub
parent e069fb9dea
commit be428a295a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -47,7 +47,7 @@
; Variables
((identifier) @constant
(#match? @constant "^_*[A-Z][A-Z\d_]+"))
(#match? @constant "^_*[A-Z][A-Z\\d_]+$"))
(identifier) @variable

@ -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]"))

Loading…
Cancel
Save