8000 Merge pull request #650 from MarSoft/async_fold · python-mode/python-mode@89888dd · GitHub
[go: up one dir, main page]

Skip to content

Commit 89888dd

Browse files
committed
Merge pull request #650 from MarSoft/async_fold
2 parents a8ae998 + 55b878d commit 89888dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/pymode.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ call pymode#default("g:pymode_folding", 1)
3939
" Maximum file length to check for nested class/def statements
4040
call pymode#default("g:pymode_folding_nest_limit", 1000)
4141
" Change for folding customization (by example enable fold for 'if', 'for')
42-
call pymode#default("g:pymode_folding_regex", '^\s*\%(class\|def\) \w\+')
42+
call pymode#default("g:pymode_folding_regex", '^\s*\%(class\|def\|async\s\+def\) \w\+')
4343

4444
" Enable/disable python motion operators
4545
call pymode#default("g:pymode_motion", 1)

0 commit comments

Comments
 (0)
0