From 91b8210779c11d5ff6c37929f67d76fd738987b5 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Sat, 28 Jul 2018 10:22:19 -0400 Subject: vim-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) https://github.com/vim/vim/commit/86f100dc0922e83bead7bcd5fd2bb2abbf153f46 --- runtime/doc/eval.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'runtime/doc') diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 7b5fc191e9..b3ab0a4500 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -6914,7 +6914,8 @@ setqflist({list} [, {action}[, {what}]]) *setqflist()* 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'}) -- cgit From eaa2cd9f7c65a684267318a7cc46db64e3431dbb Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Sat, 28 Jul 2018 23:53:41 -0400 Subject: vim-patch:8.0.0735: no indication that the quickfix window/buffer changed Problem: There is no way to notice that the quickfix window contents has changed. Solution: Increment b:changedtick when updating the quickfix window. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/a8788f4d0b991f466b607c2c5bc6fd600bc78a97 --- runtime/doc/quickfix.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'runtime/doc') diff --git a/runtime/doc/quickfix.txt b/runtime/doc/quickfix.txt index f280286290..6939dd6836 100644 --- a/runtime/doc/quickfix.txt +++ b/runtime/doc/quickfix.txt @@ -423,7 +423,9 @@ EXECUTE A COMMAND IN ALL THE BUFFERS IN QUICKFIX OR LOCATION LIST: which will indicate the command that produced the quickfix list. This can be used to compose a custom status line if the value of 'statusline' is adjusted - properly. + properly. Whenever this buffer is modified by a + quickfix command or function, the |b:changedtick| + variable is incremented. *:lop* *:lopen* :lop[en] [height] Open a window to show the location list for the -- cgit