mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 15:28:17 +00:00
FOR_ALL_BUFFERS use locally declared buffer pointer
This commit is contained in:
@@ -3434,8 +3434,8 @@ static int ins_compl_get_exp(pos_T *ini)
|
||||
int set_match_pos;
|
||||
|
||||
if (!compl_started) {
|
||||
FOR_ALL_BUFFERS(ins_buf) {
|
||||
ins_buf->b_scanned = 0;
|
||||
FOR_ALL_BUFFERS(buf) {
|
||||
buf->b_scanned = 0;
|
||||
}
|
||||
found_all = FALSE;
|
||||
ins_buf = curbuf;
|
||||
|
Reference in New Issue
Block a user