We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7eb0ec commit 757b663Copy full SHA for 757b663
1 file changed
autoload/pymode/folding.vim
@@ -17,7 +17,7 @@ fun! pymode#folding#text() " {{{
17
let line = getline(fs)
18
19
let nucolwidth = &fdc + &number * &numberwidth
20
- let windowwidth = winwidth(0) - nucolwidth - 3
+ let windowwidth = winwidth(0) - nucolwidth - 6
21
let foldedlinecount = v:foldend - v:foldstart
22
23
" expand tabs into spaces
@@ -27,7 +27,7 @@ fun! pymode#folding#text() " {{{
27
let line = strpart(line, 0, windowwidth - 2 -len(foldedlinecount))
28
let line = substitute(line, '\%("""\|''''''\)', '', '')
29
let fillcharcount = windowwidth - len(line) - len(foldedlinecount)
30
- return line . '…' . repeat(" ",fillcharcount) . foldedlinecount . '…' . ' '
+ return line . '…' . repeat(" ", fillcharcount) . ' ' . foldedlinecount . ' '
31
endfunction "}}}
32
33
0 commit comments