nvim_runtime_lua

lsp.Registration

General parameters to register for a notification or to register a provider.

Fields3

Registration.id : string

The id used to register the request. The id can be used to deregister the request again.

Registration.method : vim.lsp.protocol.Method

The method / capability to register for.

Registration.registerOptions : lsp.LSPAny | nil

Options necessary for the registration.