diff options
author | Tom Praschan <13141438+tom-anders@users.noreply.github.com> | 2023-08-11 23:26:12 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2023-08-11 23:26:12 +0200 |
commit | ca6ac99077d2e6d020a34267aa5e0fbc4d23dc38 (patch) | |
tree | e45ca226cd32378ba5d4b4a1565d15f163ae461b /runtime | |
parent | 7e0bae024d4c1673cff31763227ad52b936fa56f (diff) |
patch 9.0.1688: cannot store custom data in quickfix listv9.0.1688
Problem: cannot store custom data in quickfix list
Solution: add `user_data` field for the quickfix list
closes: #11818
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Tom Praschan <13141438+tom-anders@users.noreply.github.com>
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/builtin.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt index e74b39740e..979f46f2dc 100644 --- a/runtime/doc/builtin.txt +++ b/runtime/doc/builtin.txt @@ -4002,6 +4002,9 @@ getqflist([{what}]) *getqflist()* text description of the error type type of the error, 'E', '1', etc. valid |TRUE|: recognized error message + user_data + custom data associated with the item, can be + any type. When there is no error list or it's empty, an empty list is returned. Quickfix list entries with a non-existing buffer @@ -8298,6 +8301,8 @@ setqflist({list} [, {action} [, {what}]]) *setqflist()* text description of the error type single-character error type, 'E', 'W', etc. valid recognized error message + user_data custom data associated with the item, can be + any type. The "col", "vcol", "nr", "type" and "text" entries are optional. Either "lnum" or "pattern" entry can be used to |