aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/eval.txt
diff options
context:
space:
mode:
authorkevinhwang91 <kevin.hwang@live.com>2021-05-04 00:05:45 +0800
committerkevinhwang91 <kevin.hwang@live.com>2021-05-20 00:16:07 +0800
commitebe1a08366d71ab33b8b94239227d8105c43543e (patch)
tree574e803b2d7657d0856f33036b5417613c601618 /runtime/doc/eval.txt
parent52ca7f1a26e4da95f3b3b00670252cfdf788a011 (diff)
downloadrneovim-ebe1a08366d71ab33b8b94239227d8105c43543e.tar.gz
rneovim-ebe1a08366d71ab33b8b94239227d8105c43543e.tar.bz2
rneovim-ebe1a08366d71ab33b8b94239227d8105c43543e.zip
vim-patch:8.2.0869: it is not possible to customize the quickfix window contents
Problem: It is not possible to customize the quickfix window contents. Solution: Add 'quickfixtextfunc'. (Yegappan Lakshmanan, closes vim/vim#5465) https://github.com/vim/vim/commit/858ba06d5f577b187da0367b231f7fa9461cb32d
Diffstat (limited to 'runtime/doc/eval.txt')
-rw-r--r--runtime/doc/eval.txt12
1 files changed, 9 insertions, 3 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index b19583ed61..b7214d1390 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -4773,8 +4773,9 @@ getqflist([{what}]) *getqflist()*
id get information for the quickfix list with
|quickfix-ID|; zero means the id for the
current list or the list specified by "nr"
- idx index of the current entry in the quickfix
- list specified by 'id' or 'nr'.
+ idx get information for the quickfix entry at this
+ index in the list specified by 'id' or 'nr'.
+ If set to zero, then uses the current entry.
See |quickfix-index|
items quickfix list entries
lines parse a list of lines using 'efm' and return
@@ -4807,7 +4808,7 @@ getqflist([{what}]) *getqflist()*
If not present, set to "".
id quickfix list ID |quickfix-ID|. If not
present, set to 0.
- idx index of the current entry in the list. If not
+ idx index of the quickfix entry in the list. If not
present, set to 0.
items quickfix list entries. If not present, set to
an empty list.
@@ -7874,6 +7875,11 @@ setqflist({list} [, {action}[, {what}]]) *setqflist()*
nr list number in the quickfix stack; zero
means the current quickfix list and "$" means
the last quickfix list.
+ quickfixtextfunc
+ function to get the text to display in the
+ quickfix window. Refer to
+ |quickfix-window-function| for an explanation
+ of how to write the function and an example.
title quickfix list title text. See |quickfix-title|
Unsupported keys in {what} are ignored.
If the "nr" item is not present, then the current quickfix list