mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 03:10:04 -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)
|
(if_statement)
|
||||||
(compound_statement)
|
|
||||||
(switch_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
|
] @fold
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue