diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-08-12 08:19:06 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-12 08:19:06 +0800 |
commit | 6c07a189f2d10a533af8a51819ea96c45e0c567e (patch) | |
tree | ac42f73a102aea44e926b70b5c6d4f8fb3664634 /runtime/lua/vim/_meta/vimfn.lua | |
parent | 72cf94fc0e69b7a049ae2990572876d641cf5cb9 (diff) | |
download | rneovim-6c07a189f2d10a533af8a51819ea96c45e0c567e.tar.gz rneovim-6c07a189f2d10a533af8a51819ea96c45e0c567e.tar.bz2 rneovim-6c07a189f2d10a533af8a51819ea96c45e0c567e.zip |
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>
Diffstat (limited to 'runtime/lua/vim/_meta/vimfn.lua')
-rw-r--r-- | runtime/lua/vim/_meta/vimfn.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua index bf80ccab45..d5d9229ffb 100644 --- a/runtime/lua/vim/_meta/vimfn.lua +++ b/runtime/lua/vim/_meta/vimfn.lua @@ -3309,6 +3309,9 @@ function vim.fn.getpos(expr) end --- 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 @@ -7595,6 +7598,9 @@ function vim.fn.setpos(expr, list) end --- 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 |