Mercurial > vim
diff runtime/doc/eval.txt @ 10237:197795e3530d v8.0.0017
commit https://github.com/vim/vim/commit/890680ca6364386fabb271c85e0755bcaa6a33c1
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Sep 27 21:28:56 2016 +0200
patch 8.0.0017
Problem: Cannot get the number of the current quickfix or location list.
Solution: Use the current list if "nr" in "what" is zero. (Yegappan
Lakshmanan) Remove debug command from test.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 27 Sep 2016 21:30:04 +0200 |
parents | d709622a18c9 |
children | 876fbdd84e52 |
line wrap: on
line diff
--- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -4516,7 +4516,8 @@ getqflist([{what}]) *getqflist()* If the optional {what} dictionary argument is supplied, then returns only the items listed in {what} as a dictionary. The following string items are supported in {what}: - nr get information for this quickfix list + nr get information for this quickfix list; zero + means the current quickfix list title get the list title winid get the |window-ID| (if opened) all all of the above quickfix properties