aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/eval.txt
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-09-07 09:51:59 +0200
committerGitHub <noreply@github.com>2018-09-07 09:51:59 +0200
commit50eadfe2e991a0bb5fe0f98377d91702f0a20492 (patch)
treea9a02766e6773ff2deb8f2c864638521d6fa0d1d /runtime/doc/eval.txt
parenta9d83e8112b634544bbaaedaa36e3fa0785b9b51 (diff)
parentd99a2689143827fae19e2354d27287587f2059cb (diff)
downloadrneovim-50eadfe2e991a0bb5fe0f98377d91702f0a20492.tar.gz
rneovim-50eadfe2e991a0bb5fe0f98377d91702f0a20492.tar.bz2
rneovim-50eadfe2e991a0bb5fe0f98377d91702f0a20492.zip
Merge #8962 from janlazo/vim-8.0.0733
Diffstat (limited to 'runtime/doc/eval.txt')
-rw-r--r--runtime/doc/eval.txt19
1 files changed, 14 insertions, 5 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index e51ecbd688..1ebc1bc652 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -6851,10 +6851,12 @@ setpos({expr}, {list})
setqflist({list} [, {action}[, {what}]]) *setqflist()*
- Create or replace or add to the quickfix list using the items
- in {list}. Each item in {list} is a dictionary.
- Non-dictionary items in {list} are ignored. Each dictionary
- item can contain the following entries:
+ Create or replace or add to the quickfix list.
+
+ When {what} is not present, use the items in {list}. Each
+ item must be a dictionary. Non-dictionary items in {list} are
+ ignored. Each dictionary item can contain the following
+ entries:
bufnr buffer number; must be the number of a valid
buffer
@@ -6899,7 +6901,10 @@ setqflist({list} [, {action}[, {what}]]) *setqflist()*
freed.
If {action} is not present or is set to ' ', then a new list
- is created.
+ is created. The new quickfix list is added after the current
+ quickfix list in the stack and all the following lists are
+ freed. To add a new quickfix list at the end of the stack,
+ set "nr" in {what} to '$'.
If {title} is given, it will be used to set |w:quickfix_title|
after opening the quickfix window.
@@ -6909,6 +6914,10 @@ 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
+ text use 'errorformat' to extract items from the
+ text and add the resulting entries to the
+ quickfix list {nr}. The value can be a string
+ with one line or a list with multiple lines.
items list of quickfix entries. Same as the {list}
argument.
nr list number in the quickfix stack; zero