We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95c4190 commit da4d8b2Copy full SHA for da4d8b2
autoload/pymode/folding.vim
@@ -23,7 +23,8 @@ fun! pymode#folding#text() " {{{
23
endif
24
let line = getline(fs)
25
26
- let nucolwidth = &fdc + &number * &numberwidth
+ let has_numbers = &number || &relativenumber
27
+ let nucolwidth = &fdc + has_numbers * &numberwidth
28
let windowwidth = winwidth(0) - nucolwidth - 6
29
let foldedlinecount = v:foldend - v:foldstart
30
0 commit comments