Or use one of:
set qbe=*
set qbe=$
set qbe=-
set qbe=?
to distinguish from function names ??
在 2019年12月31日星期二 UTC+8上午2:20:37,skywind3000写道:
>
> 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/729e96f8-92e1-4fed-ad1c-47c5ace9f802%40googlegroups.com.