spacevim/bundle/nvim-treesitter-0.9.1/queries/fish/indents.scm

19 lines
304 B
Scheme
Raw Normal View History

2024-08-21 14:17:26 +08:00
[
(function_definition)
(while_statement)
(for_statement)
(if_statement)
(begin_statement)
(switch_statement)
] @indent.begin
[
"else" ; else and else if must both start the line with "else", so tag the string directly
"case"
"end"
] @indent.branch
"end" @indent.end
(comment) @indent.ignore