8000
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.
async def
1 parent da4bfe5 commit 6a901cdCopy full SHA for 6a901cd
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