mirror of
https://github.com/neovim/neovim.git
synced 2025-09-15 07:48:18 +00:00
FOR_ALL_WINDOWS_IN_TAB and local variables in FOR_ALL_TAB_WINDOWS
This commit is contained in:
@@ -2962,13 +2962,10 @@ do_ecmd (
|
||||
|
||||
/* It's possible that all lines in the buffer changed. Need to update
|
||||
* automatic folding for all windows where it's used. */
|
||||
{
|
||||
win_T *win;
|
||||
tabpage_T *tp;
|
||||
|
||||
FOR_ALL_TAB_WINDOWS(tp, win)
|
||||
if (win->w_buffer == curbuf)
|
||||
FOR_ALL_TAB_WINDOWS(tp, win) {
|
||||
if (win->w_buffer == curbuf) {
|
||||
foldUpdateAll(win);
|
||||
}
|
||||
}
|
||||
|
||||
/* Change directories when the 'acd' option is set. */
|
||||
|
Reference in New Issue
Block a user