improve queries

This commit is contained in:
mhoffm 2021-06-28 20:05:27 +02:00 committed by Stephan Seitz
parent 9275a15aad
commit 4a29ccba9b

View file

@ -24,21 +24,21 @@
"]" "]"
"(" "("
")" ")"
"[*]" ] @punctuation.bracket
".*"
] @specialChar
[ [
"." "."
".*"
"," ","
] @specialChar "[*]"
] @punctuation.delimiter
[ [
(ellipsis) (ellipsis)
"\?" "\?"
":" ":"
"=>" "=>"
] @special ] @punctuation.special
[ [
"for" "for"
@ -55,18 +55,19 @@
(heredoc_template) (heredoc_template)
] @string ] @string
(template_interpolation) @string.escape
(heredoc_identifier) @namespace (heredoc_identifier) @namespace
(heredoc_start) @namespace (heredoc_start) @namespace
(template_interpolation) @statement
(numeric_lit) @number (numeric_lit) @number
(bool_lit) @boolean (bool_lit) @boolean
(null_lit) @constant (null_lit) @constant
(comment) @comment (comment) @comment
(identifier) @identifier (identifier) @variable
(block (identifier) @namespace) (block (identifier) @namespace)
(function_call (identifier) @function) (function_call (identifier) @function)
(function_call (function_arguments) @parameter) (function_call (function_arguments) @parameter)
(attribute (identifier) @symbol) (attribute (identifier) @definition.var)
(ERROR) @error (ERROR) @error