mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 11:20:07 -04:00
Rename captures
This commit is contained in:
parent
2dcfefa9da
commit
c999f9aa13
1 changed files with 8 additions and 8 deletions
|
|
@ -70,22 +70,22 @@
|
||||||
(#match? @function.builtin "\\c^(set)$")
|
(#match? @function.builtin "\\c^(set)$")
|
||||||
. (argument)
|
. (argument)
|
||||||
(
|
(
|
||||||
(argument) @m_cache @constant
|
(argument) @_cache @constant
|
||||||
.
|
.
|
||||||
(argument) @m_type @constant
|
(argument) @_type @constant
|
||||||
(#any-of? @m_cache "CACHE")
|
(#any-of? @_cache "CACHE")
|
||||||
(#any-of? @m_type "BOOL" "FILEPATH" "PATH" "STRING" "INTERNAL")
|
(#any-of? @_type "BOOL" "FILEPATH" "PATH" "STRING" "INTERNAL")
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(normal_command
|
(normal_command
|
||||||
(identifier) @function.builtin
|
(identifier) @function.builtin
|
||||||
(#match? @function.builtin "\\c^(set)$")
|
(#match? @function.builtin "\\c^(set)$")
|
||||||
. (argument)
|
. (argument)
|
||||||
(argument) @m_cache
|
(argument) @_cache
|
||||||
(#any-of? @m_cache "CACHE")
|
(#any-of? @_cache "CACHE")
|
||||||
(
|
(
|
||||||
(argument) @m_force @constant
|
(argument) @_force @constant
|
||||||
(#any-of? @m_force "FORCE")
|
(#any-of? @_force "FORCE")
|
||||||
) .
|
) .
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue