mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 11:20:07 -04:00
feat!: drop modules, general refactor and cleanup
This commit is contained in:
parent
310f0925ec
commit
692b051b09
1247 changed files with 6096 additions and 9074 deletions
18
runtime/queries/fish/indents.scm
Normal file
18
runtime/queries/fish/indents.scm
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
[
|
||||
(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
|
||||
Loading…
Add table
Add a link
Reference in a new issue