mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-08 22:40:12 -04:00
feat(properties): update parser & queries
This commit is contained in:
parent
e159a531e5
commit
e105b5e67d
4 changed files with 15 additions and 9 deletions
|
|
@ -13,7 +13,17 @@
|
|||
((value) @number
|
||||
(#lua-match? @number "^%d+$"))
|
||||
|
||||
(index) @number
|
||||
((index) @number
|
||||
(#lua-match? @number "^%d+$"))
|
||||
|
||||
((substitution
|
||||
(key) @constant)
|
||||
(#lua-match? @constant "^[A-Z_][A-Z0-9_]*$"))
|
||||
|
||||
(substitution
|
||||
(key) @function
|
||||
"::" @punctuation.special
|
||||
(secret) @constant.macro)
|
||||
|
||||
(property
|
||||
[
|
||||
|
|
@ -38,7 +48,3 @@
|
|||
"."
|
||||
"\\"
|
||||
] @punctuation.delimiter
|
||||
|
||||
((substitution
|
||||
(key) @constant)
|
||||
(#lua-match? @constant "^[A-Z_][A-Z0-9_]*$"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue