10000
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.
1 parent 1f9bb33 commit dc80183Copy full SHA for dc80183
autoload/pymode/folding.vim
@@ -79,7 +79,7 @@ fun! pymode#folding#expr(lnum) "{{{
79
" Handle nested defs but only for files shorter than
80
" g:pymode_folding_nest_limit lines due to performance concerns
81
if line('$') < g:pymode_folding_nest_limit && indent(prevnonblank(a:lnum))
82
- let curpos = getcurpos()
+ let curpos = getpos('.')
83
try
84
let last_block = s:BlockStart(a:lnum)
85
let last_block_indent = indent(last_block)
0 commit comments