mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 02:40:09 -04:00
feat: add puppet
This commit is contained in:
parent
8ec9a50965
commit
fe3afeaa73
8 changed files with 293 additions and 0 deletions
24
queries/puppet/indents.scm
Normal file
24
queries/puppet/indents.scm
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
[
|
||||
(block)
|
||||
(defined_resource_type)
|
||||
(parameter_list)
|
||||
(attribute_type_entry)
|
||||
(resource_declaration)
|
||||
(selector)
|
||||
(method_call)
|
||||
(case_statement)
|
||||
(hash)
|
||||
(array)
|
||||
] @indent.begin
|
||||
|
||||
[
|
||||
"}"
|
||||
"]"
|
||||
")"
|
||||
] @indent.branch @indent.end
|
||||
|
||||
[
|
||||
(string)
|
||||
(comment)
|
||||
(ERROR)
|
||||
] @indent.auto
|
||||
Loading…
Add table
Add a link
Reference in a new issue