docs: lsp.CodeActionContext, nested @inlinedoc

- fix https://github.com/neovim/neovim/issues/39208
- fix generation of neste `@inlinedoc` classes
This commit is contained in:
Justin M. Keyes
2026-04-25 17:16:45 +02:00
parent 682067c46a
commit 825bfba789
4 changed files with 35 additions and 20 deletions

View File

@@ -3,11 +3,12 @@ local M = {}
---@class vim.ui.select.Opts
---@inlinedoc
---
--- Text of the prompt. Defaults to `Select one of:`
--- Text of the prompt.
--- (default: `Select one of:`)
---@field prompt? string
---
--- Function to format an
--- individual item from `items`. Defaults to `tostring`.
--- Formats an individual item from `items`.
--- (default: `tostring`)
---@field format_item? fun(item: any):string
---
--- Function to preview an individual item from `items`.