diff options
author | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-09-07 22:22:37 -0400 |
---|---|---|
committer | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-09-07 22:59:12 -0400 |
commit | b4acf609ac2ec39260b9e42bd61fc476d36763ad (patch) | |
tree | 5e5c530e76e30486e47a0fe2c870481187847cb0 /runtime/doc/eval.txt | |
parent | 50eadfe2e991a0bb5fe0f98377d91702f0a20492 (diff) | |
download | rneovim-b4acf609ac2ec39260b9e42bd61fc476d36763ad.tar.gz rneovim-b4acf609ac2ec39260b9e42bd61fc476d36763ad.tar.bz2 rneovim-b4acf609ac2ec39260b9e42bd61fc476d36763ad.zip |
vim-patch:8.0.1006: quickfix list changes when parsing text with 'erroformat'
Problem: Cannot parse text with 'erroformat' without changing a quickfix
list.
Solution: Add the "text" argument to getqflist(). (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/7adf06f4e25c795ba32ff0b2e8591330f6a41afb
Diffstat (limited to 'runtime/doc/eval.txt')
-rw-r--r-- | runtime/doc/eval.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 1ebc1bc652..98c3388a9d 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -4339,6 +4339,11 @@ getqflist([{what}]) *getqflist()* nr get information for this quickfix list; zero means the current quickfix list and '$' means the last quickfix list + text use 'errorformat' to extract items from the + text and return the resulting entries. The + value can be a string with one line or a list + with multiple lines. The current quickfix list + is not modified. title get the list title winid get the |window-ID| (if opened) all all of the above quickfix properties @@ -4347,6 +4352,9 @@ getqflist([{what}]) *getqflist()* To get the number of lists in the quickfix stack, set 'nr' to '$' in {what}. The 'nr' value in the returned dictionary contains the quickfix stack size. + When 'text' is specified, all the other items are ignored. The + returned dictionary contains the entry 'items' with the list + of entries. In case of error processing {what}, an empty dictionary is returned. |