Merge pull request #1 from svermeulen/FoldFix

Fix for some folding related issues
This commit is contained in:
supasorn 2013-06-23 19:37:57 -07:00
commit 79eaff8823

View File

@ -690,6 +690,7 @@
call s:VarReset('&readonly', 0)
call s:VarReset('&spell', 0)
call s:VarReset('&virtualedit', '')
call s:VarReset('&foldmethod', 'manual')
" }}}
" Find motion targets {{{
let search_direction = (a:direction >= 1 ? 'b' : '')
@ -831,6 +832,7 @@
call s:VarReset('&readonly')
call s:VarReset('&spell')
call s:VarReset('&virtualedit')
call s:VarReset('&foldmethod')
" }}}
" Remove shading {{{
if g:EasyMotion_do_shade && exists('shade_hl_id') && (!fixed_column)