Mercurial > vim
diff runtime/doc/eval.txt @ 11609:6f11697fb92c v8.0.0687
patch 8.0.0687: minor issues related to quickfix
commit https://github.com/vim/vim/commit/86f100dc0922e83bead7bcd5fd2bb2abbf153f46
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jun 28 21:26:27 2017 +0200
patch 8.0.0687: minor issues related to quickfix
Problem: Minor issues related to quickfix.
Solution: Set the proper return status for all cases in setqflist() and at
test cases for this. Move the "adding" flag outside of
FEAT_WINDOWS. Minor update to the setqflist() help text. (Yegappan
Lakshmanan)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 28 Jun 2017 21:30:03 +0200 |
parents | 439835c4b7aa |
children | 71d7b5ed08a0 |
line wrap: on
line diff
--- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -7008,7 +7008,8 @@ setqflist({list} [, {action}[, {what}]]) title quickfix list title text Unsupported keys in {what} are ignored. If the "nr" item is not present, then the current quickfix list - is modified. + is modified. When creating a new quickfix list, "nr" can be + set to a value one greater than the quickfix stack size. Examples: > :call setqflist([], 'r', {'title': 'My search'})