mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 21:48:35 +00:00
Merge pull request #1024 from war1025/dev/for_all_buffers
Add FOR_ALL_BUFFERS helper
This commit is contained in:
@@ -4131,11 +4131,11 @@ void spell_delete_wordlist(void)
|
||||
void spell_free_all(void)
|
||||
{
|
||||
slang_T *slang;
|
||||
buf_T *buf;
|
||||
|
||||
// Go through all buffers and handle 'spelllang'. <VN>
|
||||
for (buf = firstbuf; buf != NULL; buf = buf->b_next)
|
||||
FOR_ALL_BUFFERS(buf) {
|
||||
ga_clear(&buf->b_s.b_langp);
|
||||
}
|
||||
|
||||
while (first_lang != NULL) {
|
||||
slang = first_lang;
|
||||
|
Reference in New Issue
Block a user