mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-15 18:00:07 -04:00
chore: query formatting
This commit is contained in:
parent
79975d6557
commit
57a8acf0c4
674 changed files with 18466 additions and 12648 deletions
|
|
@ -2,7 +2,6 @@
|
|||
; Body fold will "join" the next adjacent fold into a SUPER fold.
|
||||
; This is an issue with the grammar.
|
||||
; (body)
|
||||
|
||||
(if_statement)
|
||||
(elif_clause)
|
||||
(else_clause)
|
||||
|
|
@ -16,10 +15,11 @@
|
|||
(lambda)
|
||||
(constructor_definition)
|
||||
] @fold
|
||||
|
||||
; It's nice to be able to fold the if/elif/else clauses and the entire
|
||||
; if_statement.
|
||||
(if_statement (body) @fold)
|
||||
(if_statement
|
||||
(body) @fold)
|
||||
|
||||
; Fold strings that are probably doc strings.
|
||||
(expression_statement (string) @fold)
|
||||
(expression_statement
|
||||
(string) @fold)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue