diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-09-15 22:43:07 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-09-15 22:43:07 +0200 |
commit | fc2b270cfd36230166df486aae4d96d9d1f32755 (patch) | |
tree | 5ac8fa6f9e68be4fcbe41fc046f1e0734a0a649a /runtime | |
parent | b5e79ef5a9e85f5bb70eb4cc6e12cbeec2a820ca (diff) | |
download | vim-git-fc2b270cfd36230166df486aae4d96d9d1f32755.tar.gz |
patch 8.0.1112: can't get size or current index from quickfix listv8.0.1112
Problem: Can't get size or current index from quickfix list.
Solution: Add "idx" and "size" options. (Yegappan Lakshmanan)
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/eval.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index eb4eba0c6..1650ee804 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -4642,6 +4642,7 @@ getqflist([{what}]) *getqflist()* id get information for the quickfix list with |quickfix-ID|; zero means the id for the current list or the list specifed by "nr" + idx index of the current entry in the list items quickfix list entries lines use 'errorformat' to extract items from a list of lines and return the resulting entries. @@ -4650,6 +4651,7 @@ getqflist([{what}]) *getqflist()* nr get information for this quickfix list; zero means the current quickfix list and "$" means the last quickfix list + size number of entries in the quickfix list title get the list title winid get the |window-ID| (if opened) all all of the above quickfix properties @@ -4669,8 +4671,10 @@ getqflist([{what}]) *getqflist()* The returned dictionary contains the following entries: context context information stored with |setqflist()| id quickfix list ID |quickfix-ID| + idx index of the current entry in the list items quickfix list entries nr quickfix list number + size number of entries in the quickfix list title quickfix list title text winid quickfix |window-ID| (if opened) |