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

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben3eeE committed Oct 15, 2018
1 parent f792eb9 commit b0b57ab
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions grammars/tree-sitter-php.cson
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,26 @@ fileTypes: [
]

folds: [
{
type: 'comment'
}
{
start: {type: '{', index: 0},
end: {'}', index: -1}
}
{
type: ['class_declaration', 'interface_declaration']
start: {type: '{'},
end: {type: '}'}
}
{
start: {type: '(', index: 0},
end: {')', index: -1}
}
{
start: {type: '[', index: 0},
end: {']', index: -1}
}
]

scopes:
Expand Down

0 comments on commit b0b57ab

Please sign in to comment.