mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 09:12:07 +00:00
docs(lsp): fix description of only
in vim.lsp.buf.code_action() (#18492)
This commit is contained in:
@@ -783,8 +783,8 @@ end
|
||||
--- - diagnostics (table|nil):
|
||||
--- LSP `Diagnostic[]`. Inferred from the current
|
||||
--- position if not provided.
|
||||
--- - only (string|nil):
|
||||
--- LSP `CodeActionKind` used to filter the code actions.
|
||||
--- - only (table|nil):
|
||||
--- List of LSP `CodeActionKind`s used to filter the code actions.
|
||||
--- Most language servers support values like `refactor`
|
||||
--- or `quickfix`.
|
||||
--- - filter (function|nil):
|
||||
@@ -817,8 +817,8 @@ end
|
||||
--- - diagnostics: (table|nil)
|
||||
--- LSP `Diagnostic[]`. Inferred from the current
|
||||
--- position if not provided.
|
||||
--- - only: (string|nil)
|
||||
--- LSP `CodeActionKind` used to filter the code actions.
|
||||
--- - only: (table|nil)
|
||||
--- List of LSP `CodeActionKind`s used to filter the code actions.
|
||||
--- Most language servers support values like `refactor`
|
||||
--- or `quickfix`.
|
||||
---@param start_pos ({number, number}, optional) mark-indexed position.
|
||||
|
Reference in New Issue
Block a user