Please provide a `raw` reserved option for qfbufexpr, and if it is
initialized as:
set qbe=raw
Just keep the original text and don't run any filter function ?? for the
speed purpose. And I don't need to write a
function! ReturnAsItIs(is_qf, qfid, eidx)
if a:isqf
let qfl = getqflist({'id' : a:qfid, 'idx' : a:eidx, 'items' :
1}).items
else
let qfl = getloclist(0, {'id' : a:qfid, 'idx' :
a:eidx, 'items' : 1}).items
endif
let e = qfl[0]
return e.text
endfunc
set qbe=ReturnAsItIs
It's totally unnecessary for every one to write such function, and it's too
slow, so just a
set qbe=raw
can be much helpful.
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/da1c7c43-5055-4694-9bd3-a47e9a21efe9%40googlegroups.com.