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.
2 parents a8ae998 + 55b878d commit 89888ddCopy full SHA for 89888dd
plugin/pymode.vim
@@ -39,7 +39,7 @@ call pymode#default("g:pymode_folding", 1)
39
" Maximum file length to check for nested class/def statements
40
call pymode#default("g:pymode_folding_nest_limit", 1000)
41
" Change for folding customization (by example enable fold for 'if', 'for')
42
-call pymode#default("g:pymode_folding_regex", '^\s*\%(class\|def\) \w\+')
+call pymode#default("g:pymode_folding_regex", '^\s*\%(class\|def\|async\s\+def\) \w\+')
43
44
" Enable/disable python motion operators
45
call pymode#default("g:pymode_motion", 1)
0 commit comments