mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-06 13:30:01 -04:00
indents(fish): Add "end" and "case" (#5029)
This commit is contained in:
parent
43fab6423c
commit
949edb8c52
1 changed files with 4 additions and 2 deletions
|
|
@ -8,9 +8,11 @@
|
|||
] @indent.begin
|
||||
|
||||
[
|
||||
(else_if_clause)
|
||||
(else_clause)
|
||||
"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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue