mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 19:46:58 -04:00
indents(c): indent always after init_declarator
This commit is contained in:
parent
ff96940767
commit
dccf0f0cb8
1 changed files with 1 additions and 6 deletions
|
|
@ -7,7 +7,6 @@
|
|||
(struct_specifier)
|
||||
(compound_literal_expression)
|
||||
(initializer_list)
|
||||
(concatenated_string)
|
||||
(while_statement)
|
||||
(for_statement)
|
||||
(switch_statement)
|
||||
|
|
@ -18,11 +17,7 @@
|
|||
consequence: (_) @_consequence
|
||||
(#not-has-type? @_consequence compound_statement)
|
||||
) @indent)
|
||||
(init_declarator
|
||||
value: [
|
||||
(binary_expression)
|
||||
(conditional_expression)
|
||||
] @indent)
|
||||
(init_declarator) @indent
|
||||
|
||||
(compound_statement "}" @indent_end)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue