nvim-treesitter/runtime/queries/v/indents.scm

21 lines
292 B
Scheme
Raw Normal View History

2024-01-06 15:05:50 +09:00
[
(import_declaration)
(const_declaration)
(type_declaration)
(type_initializer)
(block)
(map_init_expression)
(call_expression)
(parameter_list)
] @indent.begin
2024-01-06 15:05:50 +09:00
"}" @indent.branch
2024-01-06 15:05:50 +09:00
(parameter_list
")" @indent.branch)
[
(line_comment)
(block_comment)
] @indent.ignore