summaryrefslogtreecommitdiffstatshomepage
path: root/test/functional/vimscript/executable_spec.lua
diff options
context:
space:
mode:
authorYi Ming <ofseed@foxmail.com>2026-04-17 03:15:04 +0800
committerGitHub <noreply@github.com>2026-04-16 15:15:04 -0400
commita61a0bf407a83690ffaa0fd6098cbd4390323f0b (patch)
treec0b7b861f0a6c45cfe3389460815de56f0e98a15 /test/functional/vimscript/executable_spec.lua
parentbb2284d75e7e2b0587610d1ae4d681d185622645 (diff)
refactor(lsp): provide a default list handler example #39005
Problem: Difficult for us to provide default handlers for functions like `vim.lsp.buf.definition`. When users wanted to fine-tune the default behavior, they don't know how. Solution: - Document an example providing `on_list` boilerplate to make it easier for users to modify and override. - Also, considering that the parameters of the previous `on_list`(`vim.lsp.ListOpts.OnList`) are compatible with the parameters of `setqflist`, remove that custom type in favor of passing `vim.fn.setqflist.what`.
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions