Lifepillar
unread,Apr 25, 2022, 5:07:47 AM4/25/22Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vim...@googlegroups.com
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]
This sets the quickfix list as expected (is there a better way?). But
when I look at `what.items[0]`, I cannot find an item corresponding to
%f (`foo` in the example). Yet setloclist() sets it. Where is that
information stored?
Thanks,
Life.