mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17: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
|
|
@ -513,7 +513,7 @@
|
|||
"revision": "a7ff31a38908df9b9f34828d21d6ca5e12413e18"
|
||||
},
|
||||
"puppet": {
|
||||
"revision": "9ce9a5f7d64528572aaa8d59459ba869e634086b"
|
||||
"revision": "3641b9e854ac9c84c7576e71c4c9a357bcfd9550"
|
||||
},
|
||||
"purescript": {
|
||||
"revision": "2517b1ee2236353af761edbd22570f740f1603f1"
|
||||
|
|
|
|||
|
|
@ -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