Rename captures

This commit is contained in:
Uy Ha 2022-02-05 00:20:07 +01:00 committed by Stephan Seitz
parent 2dcfefa9da
commit c999f9aa13

View file

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