use lua-match where possible

This commit is contained in:
Uy Ha 2023-02-28 02:11:09 +01:00 committed by Amaan Qureshi
parent b9a7591b6c
commit e2a9fc8e5c

View file

@ -1,7 +1,7 @@
(normal_command
(identifier)
(argument (unquoted_argument)) @constant
(#match? @constant "^[A-Z][A-Z_]+$")
(#lua-match? @constant "^%u[%u_]+$")
)
[
@ -186,4 +186,4 @@
(escape_sequence) @string.escape
((source_file . (line_comment) @preproc)
(#match? @preproc "^#!/"))
(#lua-match? @preproc "^#!/"))