1
0
forked from aniani/vim

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.
This commit is contained in:
Bram Moolenaar
2016-09-27 21:28:56 +02:00
parent 0e77b7691e
commit 890680ca63
4 changed files with 17 additions and 7 deletions

View File

@@ -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