mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
use lua-match where possible
This commit is contained in:
parent
b9a7591b6c
commit
e2a9fc8e5c
1 changed files with 2 additions and 2 deletions
|
|
@ -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 "^#!/"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue