commit | fa6d5afd8459cfcbed2d91e0280d6f7fb9fcdb18 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Oct 14 13:33:20 2007 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Oct 14 13:33:20 2007 +0000 |
tree | 8c63849f7c361033d3708d9004c50a2315be78fe | |
parent | aa8494a13eb1f8b5eb4a417bb03e7bb5ea399c57 [diff] [blame] |
updated for version 7.1-139
diff --git a/src/fold.c b/src/fold.c index 07b0748..5e67dd2 100644 --- a/src/fold.c +++ b/src/fold.c
@@ -858,7 +858,14 @@ || 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 */