Re: ml_get internal error with vimgrep

2018-10-28 Fir de Conversatie Bram Moolenaar
Yegappan wrote: > > > When I try to run the "2vimgrep buf_T *.c" command from > > > an empty buffer, I see the following error: > > > > > > E315: ml_get: invalid lnum: 2 > > > > > > This doesn't happen if the current buffer has 2 or more lines. > > > It looks like Vim is trying to highlight the

Re: ml_get internal error with vimgrep

2018-10-27 Fir de Conversatie Yegappan Lakshmanan
Hi, On Fri, Oct 26, 2018 at 12:56 PM Yegappan Lakshmanan wrote: > > > > > When I try to run the "2vimgrep buf_T *.c" command from > > an empty buffer, I see the following error: > > > > E315: ml_get: invalid lnum: 2 > > > > This doesn't happen if the current buffer has 2 or more lines. > > It lo

Re: ml_get internal error with vimgrep

2018-10-26 Fir de Conversatie Yegappan Lakshmanan
Hi, On Fri, Oct 26, 2018 at 11:35 AM Yegappan Lakshmanan wrote: > > Hi, > > When I try to run the "2vimgrep buf_T *.c" command from > an empty buffer, I see the following error: > > E315: ml_get: invalid lnum: 2 > > This doesn't happen if the current buffer has 2 or more lines. > It looks like V

ml_get internal error with vimgrep

2018-10-26 Fir de Conversatie Yegappan Lakshmanan
Hi, When I try to run the "2vimgrep buf_T *.c" command from an empty buffer, I see the following error: E315: ml_get: invalid lnum: 2 This doesn't happen if the current buffer has 2 or more lines. It looks like Vim is trying to highlight the specified pattern and as part of that trying to read