only match unquoted arguments

This commit is contained in:
Uy Ha 2023-02-27 15:31:47 +00:00 committed by Stephan Seitz
parent cf718048ca
commit a5a6590f15

View file

@ -91,15 +91,15 @@
)
(normal_command
(identifier) @_function
. (argument) @variable
(#match? @_function "\\c^set$")
(identifier)
(argument (unquoted_argument)) @constant
(#match? @constant "^[A-Z][A-Z_]+$")
)
(normal_command
(identifier)
(argument) @constant
(#match? @constant "^[A-Z][A-Z_]+$")
(identifier) @_function
. (argument) @variable
(#match? @_function "\\c^set$")
)
(escape_sequence) @string.escape