We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c8468e commit 7ce8c76Copy full SHA for 7ce8c76
1 file changed
autoload/pymode/folding.vim
@@ -18,7 +18,7 @@ fun! pymode#folding#text() " {{{
18
while getline(fs) !~ s:def_regex && getline(fs) !~ s:doc_begin_regex
19
let fs = nextnonblank(fs + 1)
20
endwhile
21
- if getline(fs) =~ s:doc_begin_regex
+ if getline(fs) =~ s:doc_end_regex && getline(fs) =~ s:doc_begin_regex
22
23
endif
24
let line = getline(fs)
0 commit comments