1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-28 01:10:05 +08:00
SpaceVim/bundle/nvim-treesitter/queries/go/indents.scm

24 lines
318 B
Scheme
Raw Normal View History

[
(import_declaration)
(const_declaration)
(var_declaration)
(type_declaration)
(composite_literal)
(func_literal)
(literal_value)
(expression_case)
(default_case)
(block)
(call_expression)
(parameter_list)
] @indent
[
"case"
"}"
] @branch
(parameter_list ")" @branch)
(comment) @ignore