nvim-treesitter/queries/go/indents.scm
George Harker cb568af539 use indent.X syntax for captures and properties of set directives
update CONTRIBUTING.md

adjust indents for bass

fix doc capture comment
2023-03-24 13:07:53 -04:00

33 lines
509 B
Scheme

[
(import_declaration)
(const_declaration)
(var_declaration)
(type_declaration)
(func_literal)
(literal_value)
(expression_case)
(communication_case)
(type_case)
(default_case)
(block)
(call_expression)
(parameter_list)
(struct_type)
] @indent.begin
[
"}"
] @indent.branch
(const_declaration ")" @indent.branch)
(import_spec_list ")" @indent.branch)
(var_declaration ")" @indent.branch)
[
"}"
")"
] @indent.end
(parameter_list ")" @indent.branch)
(comment) @indent.ignore