aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2026-05-09 07:56:08 +0800
committerzeertzjq <zeertzjq@outlook.com>2026-05-09 08:05:56 +0800
commit900975d30dfa74f325f0f5aa0cef089ae45ee71d (patch)
tree44c43d5ffd24d8c3c62f6a9e4be080075d9d1663 /runtime/lua/vim
parent3aa83dca4143e7e7095f325e8b35297f21ad545b (diff)
downloadrneovim-900975d30dfa74f325f0f5aa0cef089ae45ee71d.tar.gz
rneovim-900975d30dfa74f325f0f5aa0cef089ae45ee71d.tar.bz2
rneovim-900975d30dfa74f325f0f5aa0cef089ae45ee71d.zip
vim-patch:9.2.0455: 'findfunc' only allows extra info for cmdline completion
Problem: 'findfunc' only allows extra info for cmdline completion, not for actually finding files (Maxim Kim, after 9.2.0451). Solution: Handle returning a list of dicts when actually finding files. Also fix crash on NULL string (zeertzjq). fixes: vim/vim#20163 closes: vim/vim#20164 https://github.com/vim/vim/commit/9694ff58fe510bf3906a7b6817429e29d5975987
Diffstat (limited to 'runtime/lua/vim')
-rw-r--r--runtime/lua/vim/_meta/options.gen.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/runtime/lua/vim/_meta/options.gen.lua b/runtime/lua/vim/_meta/options.gen.lua
index e2d5b82957..732c8df891 100644
--- a/runtime/lua/vim/_meta/options.gen.lua
+++ b/runtime/lua/vim/_meta/options.gen.lua
@@ -2625,9 +2625,8 @@ vim.go.fcs = vim.go.fillchars
--- `String` and is the `:find` command argument. The second argument is
--- a `Boolean` and is set to `v:true` when the function is called to get
--- a List of command-line completion matches for the `:find` command.
---- The function should return a List of strings, or, in the command-line
---- completion case, whatever a `:command-completion-customlist` function
---- may return.
+--- The function should return a List, which is handled similarly to the
+--- return value of a `:command-completion-customlist` function.
---
--- The function is called only once per `:find` command invocation.
--- The function can process all the directories specified in 'path'.