add OUTPUT_VARIABLE query for list TRANSFORM

This commit is contained in:
Uy Ha 2022-12-09 00:25:12 +01:00 committed by Stephan Seitz
parent 322d723c89
commit 9508e2188f

View file

@ -180,6 +180,15 @@
(#any-of? @_action "APPEND" "PREPEND" "TOUPPER" "TOLOWER" "STRIP" "GENEX_STRIP" "REPLACE")
(#any-of? @_selector "AT" "FOR" "REGEX")
)
(normal_command
(identifier) @_function
(#match? @_function "\\c^(list)$")
. (argument) @_transform @constant
(argument) @constant .
(argument) @variable
(#match? @_transform "TRANSFORM")
(#match? @constant "OUTPUT_VARIABLE")
)
(normal_command
(identifier) @_function