mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 13:38:34 +00:00
Replace FOR_ALL_WINDOWS with FOR_ALL_WINDOWS_IN_TAB(curtab)
This commit is contained in:
@@ -4162,7 +4162,7 @@ void spell_reload(void)
|
||||
spell_free_all();
|
||||
|
||||
// Go through all buffers and handle 'spelllang'.
|
||||
FOR_ALL_WINDOWS(wp) {
|
||||
FOR_ALL_WINDOWS_IN_TAB(wp, curtab) {
|
||||
// Only load the wordlists when 'spelllang' is set and there is a
|
||||
// window for this buffer in which 'spell' is set.
|
||||
if (*wp->w_s->b_p_spl != NUL) {
|
||||
|
Reference in New Issue
Block a user