mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-14 01:10:02 -04:00
chore(puppet): update queries
This commit is contained in:
parent
fef26b5eee
commit
8e1df60b13
5 changed files with 11 additions and 10 deletions
|
|
@ -5,7 +5,7 @@
|
|||
(attribute_type_entry)
|
||||
(resource_declaration)
|
||||
(selector)
|
||||
(method_call)
|
||||
(iterator_statement)
|
||||
(case_statement)
|
||||
(hash)
|
||||
(array)
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@
|
|||
"node"
|
||||
"type"
|
||||
"tag"
|
||||
"require"
|
||||
] @keyword
|
||||
|
||||
[
|
||||
|
|
@ -57,8 +58,8 @@
|
|||
(function_call
|
||||
(identifier) @variable.parameter)
|
||||
|
||||
(method_call
|
||||
(identifier) @variable.parameter)
|
||||
(iterator_statement
|
||||
(variable) @variable.parameter)
|
||||
|
||||
; Functions
|
||||
(function_declaration
|
||||
|
|
@ -92,10 +93,11 @@
|
|||
(class_identifier
|
||||
(identifier) @function.method .))
|
||||
|
||||
(method_call
|
||||
"."
|
||||
.
|
||||
(identifier) @function.method.call)
|
||||
(function_call
|
||||
(field_expression
|
||||
"."
|
||||
(identifier) @function.method.call)
|
||||
"(")
|
||||
|
||||
; Types
|
||||
(type) @type
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@
|
|||
(attribute_type_entry)
|
||||
(resource_declaration)
|
||||
(selector)
|
||||
(method_call)
|
||||
(case_statement)
|
||||
(hash)
|
||||
(array)
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
(node_definition)
|
||||
(resource_declaration)
|
||||
(selector)
|
||||
(method_call)
|
||||
(iterator_statement)
|
||||
(case_statement)
|
||||
(hash)
|
||||
(array)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue