From efe92f9dff9383cf78a2d0c857448a14514c7043 Mon Sep 17 00:00:00 2001 From: Maria José Solano Date: Sat, 15 Feb 2025 13:56:02 -0800 Subject: fix(docs): update context type in `vim.lsp.LocationOpts.OnList` --- runtime/doc/lsp.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'runtime/doc') diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt index 954d21ec34..93b5d3cdcc 100644 --- a/runtime/doc/lsp.txt +++ b/runtime/doc/lsp.txt @@ -1465,7 +1465,8 @@ Lua module: vim.lsp.buf *lsp-buf* Fields: ~ • {items} (`table[]`) Structured like |setqflist-what| • {title}? (`string`) Title for the list. - • {context}? (`table`) `ctx` from |lsp-handler| + • {context}? (`{ bufnr: integer, method: string }`) Subset of `ctx` + from |lsp-handler|. *vim.lsp.buf.hover.Opts* Extends: |vim.lsp.util.open_floating_preview.Opts| -- cgit