chore(puppet): update queries

This commit is contained in:
Amaan Qureshi 2024-02-18 10:03:44 -05:00
parent fef26b5eee
commit 8e1df60b13
5 changed files with 11 additions and 10 deletions

View file

@ -513,7 +513,7 @@
"revision": "a7ff31a38908df9b9f34828d21d6ca5e12413e18" "revision": "a7ff31a38908df9b9f34828d21d6ca5e12413e18"
}, },
"puppet": { "puppet": {
"revision": "9ce9a5f7d64528572aaa8d59459ba869e634086b" "revision": "3641b9e854ac9c84c7576e71c4c9a357bcfd9550"
}, },
"purescript": { "purescript": {
"revision": "2517b1ee2236353af761edbd22570f740f1603f1" "revision": "2517b1ee2236353af761edbd22570f740f1603f1"

View file

@ -5,7 +5,7 @@
(attribute_type_entry) (attribute_type_entry)
(resource_declaration) (resource_declaration)
(selector) (selector)
(method_call) (iterator_statement)
(case_statement) (case_statement)
(hash) (hash)
(array) (array)

View file

@ -18,6 +18,7 @@
"node" "node"
"type" "type"
"tag" "tag"
"require"
] @keyword ] @keyword
[ [
@ -57,8 +58,8 @@
(function_call (function_call
(identifier) @variable.parameter) (identifier) @variable.parameter)
(method_call (iterator_statement
(identifier) @variable.parameter) (variable) @variable.parameter)
; Functions ; Functions
(function_declaration (function_declaration
@ -92,10 +93,11 @@
(class_identifier (class_identifier
(identifier) @function.method .)) (identifier) @function.method .))
(method_call (function_call
"." (field_expression
. "."
(identifier) @function.method.call) (identifier) @function.method.call)
"(")
; Types ; Types
(type) @type (type) @type

View file

@ -5,7 +5,6 @@
(attribute_type_entry) (attribute_type_entry)
(resource_declaration) (resource_declaration)
(selector) (selector)
(method_call)
(case_statement) (case_statement)
(hash) (hash)
(array) (array)

View file

@ -8,7 +8,7 @@
(node_definition) (node_definition)
(resource_declaration) (resource_declaration)
(selector) (selector)
(method_call) (iterator_statement)
(case_statement) (case_statement)
(hash) (hash)
(array) (array)