aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2017-12-31 00:36:35 -0500
committerJames McCoy <jamessan@jamessan.com>2017-12-31 01:00:59 -0500
commitd0c4bd23f78ee00943725ea77a63f2a223dba66b (patch)
treeb35579b5e444beceb127ab8b2e5f8c1afb003a34 /runtime
parent3efc50d1d4e97c3d7bc3734ac77e6ed7b43a391d (diff)
downloadrneovim-d0c4bd23f78ee00943725ea77a63f2a223dba66b.tar.gz
rneovim-d0c4bd23f78ee00943725ea77a63f2a223dba66b.tar.bz2
rneovim-d0c4bd23f78ee00943725ea77a63f2a223dba66b.zip
vim-patch:8.0.0657: cannot get and set quickfix list items
Problem: Cannot get and set quickfix list items. Solution: Add the "items" argument to getqflist() and setqflist(). (Yegappan Lakshmanan) https://github.com/vim/vim/commit/6a8958db259d4444da6e6956e54a6513c1af8860
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/eval.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 7c1e524b66..ae62498d35 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -4328,6 +4328,7 @@ getqflist([{what}]) *getqflist()*
returns only the items listed in {what} as a dictionary. The
following string items are supported in {what}:
context get the context stored with |setqflist()|
+ items quickfix list entries
nr get information for this quickfix list; zero
means the current quickfix list and '$' means
the last quickfix list
@@ -4344,6 +4345,7 @@ getqflist([{what}]) *getqflist()*
The returned dictionary contains the following entries:
context context information stored with |setqflist()|
+ items quickfix list entries
nr quickfix list number
title quickfix list title text
winid quickfix |window-ID| (if opened)
@@ -6892,6 +6894,8 @@ setqflist({list} [, {action}[, {what}]]) *setqflist()*
argument is ignored. The following items can be specified in
{what}:
context any Vim type can be stored as a context
+ items list of quickfix entries. Same as the {list}
+ argument.
nr list number in the quickfix stack; zero
means the current quickfix list and '$' means
the last quickfix list