aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2017-12-18 21:40:34 -0500
committerJames McCoy <jamessan@jamessan.com>2017-12-18 21:44:42 -0500
commit4d2d844c12e1a94a5d3cbe93794bb04ef6fb8377 (patch)
tree5cca26337cd4853b088a6a9af0035b21f2556032 /runtime
parent9fb7926a0dbc08daf19fca5eb93f95ae83a6303c (diff)
downloadrneovim-4d2d844c12e1a94a5d3cbe93794bb04ef6fb8377.tar.gz
rneovim-4d2d844c12e1a94a5d3cbe93794bb04ef6fb8377.tar.bz2
rneovim-4d2d844c12e1a94a5d3cbe93794bb04ef6fb8377.zip
vim-patch:8.0.0580: cannot set the valid flag with setqflist()
Problem: Cannot set the valid flag with setqflist(). Solution: Add the "valid" argument. (Yegappan Lakshmanan, closes vim/vim#1642) https://github.com/vim/vim/commit/f1d21c8cc83f40c815b6bf13cd2043152db533ee
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/eval.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index efc8775d0a..0b50340dee 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -6841,6 +6841,7 @@ setqflist({list} [, {action}[, {what}]]) *setqflist()*
nr error number
text description of the error
type single-character error type, 'E', 'W', etc.
+ valid recognized error message
The "col", "vcol", "nr", "type" and "text" entries are
optional. Either "lnum" or "pattern" entry can be used to
@@ -6850,6 +6851,8 @@ setqflist({list} [, {action}[, {what}]]) *setqflist()*
item will not be handled as an error line.
If both "pattern" and "lnum" are present then "pattern" will
be used.
+ If the "valid" entry is not supplied, then the valid flag is
+ set when "bufnr" is a valid buffer or "filename" exists.
If you supply an empty {list}, the quickfix list will be
cleared.
Note that the list is not exactly the same as what