nvim_runtime_lua

vim.lsp.buf.code_action.Opts

@inlinedoc

Fields4

Opts.context : vim.lsp.buf.code_action.context | nil
Opts.filter : fun(x: lsp.CodeAction | lsp.Command, client_id: integer) -> boolean | nil
Opts.apply : nil | boolean

When set to true, and there is just one remaining action (after filtering), the action is applied without user query.

Opts.range : { end: integer[], start: integer[] } | nil

Range for which code actions should be requested. If in visual mode this defaults to the active selection. Table must contain start and end keys with {row,col} tuples using mark-like indexing. See |api-indexing|