Re: %f item in getqflist()

2022-04-25 Thread Lifepillar
On 2022-04-25, Lifepillar wrote: > I am looking into parsing a list of strings with an errorformat to > create a quicklist or location list out of it. Currently, I am doing it > as follows: > > let efm = "%f:%l:%m" > let what = getqflist({"lines": ["foo:3:bar"], "efm": efm}) > call set

%f item in getqflist()

2022-04-25 Thread Lifepillar
I am looking into parsing a list of strings with an errorformat to create a quicklist or location list out of it. Currently, I am doing it as follows: let efm = "%f:%l:%m" let what = getqflist({"lines": ["foo:3:bar"], "efm": efm}) call setloclist(0, what.items) echo what.items[0]