mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 20:00:07 -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
|
] @indent.begin
|
||||||
|
|
||||||
[
|
[
|
||||||
(else_if_clause)
|
"else" ; else and else if must both start the line with "else", so tag the string directly
|
||||||
(else_clause)
|
"case"
|
||||||
"end"
|
"end"
|
||||||
] @indent.branch
|
] @indent.branch
|
||||||
|
|
||||||
|
"end" @indent.end
|
||||||
|
|
||||||
(comment) @indent.ignore
|
(comment) @indent.ignore
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue