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 2ad7970 + 7ce8c76 commit e92df45Copy full SHA for e92df45
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