Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit b0b57ab

Browse files
committed
WIP
1 parent f792eb9 commit b0b57ab

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

grammars/tree-sitter-php.cson

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,26 @@ fileTypes: [
1212
]
1313

1414
folds: [
15+
{
16+
type: 'comment'
17+
}
1518
{
1619
start: {type: '{', index: 0},
1720
end: {'}', index: -1}
1821
}
22+
{
23+
type: ['class_declaration', 'interface_declaration']
24+
start: {type: '{'},
25+
end: {type: '}'}
26+
}
1927
{
2028
start: {type: '(', index: 0},
2129
end: {')', index: -1}
2230
}
31+
{
32+
start: {type: '[', index: 0},
33+
end: {']', index: -1}
34+
}
2335
]
2436

2537
scopes:

0 commit comments

Comments
 (0)