From 6c07a189f2d10a533af8a51819ea96c45e0c567e Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Sat, 12 Aug 2023 08:19:06 +0800 Subject: vim-patch:9.0.1688: cannot store custom data in quickfix list (#24673) Problem: cannot store custom data in quickfix list Solution: add `user_data` field for the quickfix list closes: vim/vim#11818 https://github.com/vim/vim/commit/ca6ac99077d2e6d020a34267aa5e0fbc4d23dc38 Co-authored-by: Tom Praschan <13141438+tom-anders@users.noreply.github.com> --- src/nvim/eval.lua | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/nvim/eval.lua') diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua index a09580cd75..1e53014715 100644 --- a/src/nvim/eval.lua +++ b/src/nvim/eval.lua @@ -4105,6 +4105,9 @@ M.funcs = { 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 @@ -9121,6 +9124,9 @@ M.funcs = { 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 -- cgit