diff options
| author | gbprod <contact@gb-prod.fr> | 2022-10-11 09:23:29 +0200 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2022-10-12 22:36:57 +0200 |
| commit | 3cb46f0c81a5640cd3b342e8a50e77058d7923d5 (patch) | |
| tree | 4a2d9f5003e9904595cfc557de9833e49e74329b /queries/php | |
| parent | fix(julia): remove highlight query for constants (diff) | |
| download | nvim-treesitter-3cb46f0c81a5640cd3b342e8a50e77058d7923d5.tar nvim-treesitter-3cb46f0c81a5640cd3b342e8a50e77058d7923d5.tar.gz nvim-treesitter-3cb46f0c81a5640cd3b342e8a50e77058d7923d5.tar.bz2 nvim-treesitter-3cb46f0c81a5640cd3b342e8a50e77058d7923d5.tar.lz nvim-treesitter-3cb46f0c81a5640cd3b342e8a50e77058d7923d5.tar.xz nvim-treesitter-3cb46f0c81a5640cd3b342e8a50e77058d7923d5.tar.zst nvim-treesitter-3cb46f0c81a5640cd3b342e8a50e77058d7923d5.zip | |
feat(php): improve php folds
Diffstat (limited to 'queries/php')
| -rw-r--r-- | queries/php/folds.scm | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/queries/php/folds.scm b/queries/php/folds.scm index 3d447829a..60126b70b 100644 --- a/queries/php/folds.scm +++ b/queries/php/folds.scm @@ -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 |
