We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5011ef commit 4d55d0eCopy full SHA for 4d55d0e
grammars/tree-sitter-python.cson
@@ -25,8 +25,14 @@ fileTypes: [
25
]
26
27
folds: [
28
+ {
29
+ type: ['if_statement']
30
+ start: {type: ':'}
31
+ end: {type: ['elif_clause', 'else_clause']}
32
+ },
33
{
34
type: [
35
+ 'if_statement'
36
'elif_clause'
37
'else_clause'
38
'for_statement'
@@ -39,11 +45,6 @@ folds: [
39
45
40
46
start: {type: ':'}
41
47
},
42
- {
43
- type: ['if_statement']
44
- start: {type: ':'}
- end: {type: ['elif_clause', 'else_clause']}
- }
48
49
start: {type: '(', index: 0}
50
end: {type: ')', index: -1}
0 commit comments