1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-04 11:00:06 +08:00
SpaceVim/bundle/nvim-treesitter-0.9.1/queries/fish/indents.scm

19 lines
304 B
Scheme
Raw Normal View History

[
(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