Mercurial > vim
changeset 1424:9dbb57025f25 v7.1.139
updated for version 7.1-139
author | vimboss |
---|---|
date | Sun, 14 Oct 2007 13:33:20 +0000 |
parents | 01a0da54773e |
children | 15154710ed57 |
files | src/fold.c src/version.c |
diffstat | 2 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/fold.c +++ b/src/fold.c @@ -858,7 +858,14 @@ foldUpdate(wp, top, bot) || foldmethodIsDiff(wp) #endif || foldmethodIsSyntax(wp)) + { + int save_got_int = got_int; + + /* reset got_int here, otherwise it won't work */ + got_int = FALSE; foldUpdateIEMS(wp, top, bot); + got_int |= save_got_int; + } } /* foldUpdateAll() {{{2 */