mirror of
https://github.com/neovim/neovim.git
synced 2025-09-16 08:18:17 +00:00
Merge pull request #1024 from war1025/dev/for_all_buffers
Add FOR_ALL_BUFFERS helper
This commit is contained in:
@@ -3436,8 +3436,9 @@ static int ins_compl_get_exp(pos_T *ini)
|
||||
int set_match_pos;
|
||||
|
||||
if (!compl_started) {
|
||||
for (ins_buf = firstbuf; ins_buf != NULL; ins_buf = ins_buf->b_next)
|
||||
ins_buf->b_scanned = 0;
|
||||
FOR_ALL_BUFFERS(buf) {
|
||||
buf->b_scanned = 0;
|
||||
}
|
||||
found_all = FALSE;
|
||||
ins_buf = curbuf;
|
||||
e_cpt = (compl_cont_status & CONT_LOCAL)
|
||||
|
Reference in New Issue
Block a user