mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 12:06:55 -04:00
feat(php): improve php folds
This commit is contained in:
parent
ef05f00814
commit
3cb46f0c81
1 changed files with 12 additions and 3 deletions
|
|
@ -1,6 +1,15 @@
|
|||
[
|
||||
(class_declaration)
|
||||
(compound_statement)
|
||||
(if_statement)
|
||||
(switch_statement)
|
||||
(case_statement)
|
||||
(while_statement)
|
||||
(do_statement)
|
||||
(for_statement)
|
||||
(foreach_statement)
|
||||
(try_statement)
|
||||
(function_definition)
|
||||
(class_declaration)
|
||||
(interface_declaration)
|
||||
(trait_declaration)
|
||||
(enum_declaration)
|
||||
(function_static_declaration)
|
||||
] @fold
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue