To reproduce: vim -u NONE -U NONE :set ignorecase infercase ia<CR><CR><C-X><C-L><C-X><C-L>
After the first <C-X><C-L>, we have 1. "a" 2. "" 3. "a" the 2nd <C-X><C-L> tries to complete the string on line 2. This results in a place where we try to allocate 0 space to hold an empty string (at edit.c:2151). The fix is as easy as the explanation; we just add a new condition that results in skipping case inference for an empty string. 2114c2114 < if (p_ic && curbuf->b_p_inf) --- > if (p_ic && curbuf->b_p_inf && len > 0) ~Matt --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
