Skip to content

Commit 2286cc7

Browse files
committed
Fix folding.
1 parent f5dbe84 commit 2286cc7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

autoload/pymode/folding.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ fun! pymode#folding#text() " {{{
3030

3131
let line = strpart(line, 0, windowwidth - 2 -len(foldedlinecount))
3232
let line = substitute(line, '\%("""\|''''''\)', '', '')
33-
let fillcharcount = windowwidth - len(line) - len(foldedlinecount)
34-
return line . '' . repeat(s:symbol, fillcharcount) . ' ' . foldedlinecount . ' '
33+
let fillcharcount = windowwidth - len(line) - len(foldedlinecount) + 1
34+
return line . ' ' . repeat(s:symbol, fillcharcount) . ' ' . foldedlinecount
3535
endfunction "}}}
3636

3737

0 commit comments

Comments
 (0)