mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.2-161
This commit is contained in:
@@ -6846,10 +6846,11 @@ buf_reload(buf, orig_mode)
|
||||
#endif
|
||||
#ifdef FEAT_FOLDING
|
||||
{
|
||||
win_T *wp;
|
||||
win_T *wp;
|
||||
tabpage_T *tp;
|
||||
|
||||
/* Update folds unless they are defined manually. */
|
||||
FOR_ALL_WINDOWS(wp)
|
||||
FOR_ALL_TAB_WINDOWS(tp, wp)
|
||||
if (wp->w_buffer == curwin->w_buffer
|
||||
&& !foldmethodIsManual(wp))
|
||||
foldUpdateAll(wp);
|
||||
|
Reference in New Issue
Block a user