mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 02:40:09 -04:00
fix(go): narrow down } usage
This commit is contained in:
parent
2d917106d1
commit
74dc34a7fa
1 changed files with 13 additions and 2 deletions
|
|
@ -12,10 +12,21 @@
|
||||||
(block)
|
(block)
|
||||||
(call_expression)
|
(call_expression)
|
||||||
(parameter_list)
|
(parameter_list)
|
||||||
(struct_type)
|
(field_declaration_list)
|
||||||
|
(interface_type)
|
||||||
] @indent.begin
|
] @indent.begin
|
||||||
|
|
||||||
"}" @indent.branch
|
(literal_value
|
||||||
|
"}" @indent.branch)
|
||||||
|
|
||||||
|
(block
|
||||||
|
"}" @indent.branch)
|
||||||
|
|
||||||
|
(field_declaration_list
|
||||||
|
"}" @indent.branch)
|
||||||
|
|
||||||
|
(interface_type
|
||||||
|
"}" @indent.branch)
|
||||||
|
|
||||||
(const_declaration
|
(const_declaration
|
||||||
")" @indent.branch)
|
")" @indent.branch)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue