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 1f9bb33 + dc80183 commit d3b4d38Copy full SHA for d3b4d38
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