nvim_runtime_lua

lsp._InitializeParams

The initialize parameters

@since 3.15.0 @since 3.16.0

Fields8

_InitializeParams.processId : integer | lsp.null

The process Id of the parent process that started the server.

Is null if the process has not been started by another process. If the parent process is not alive then the server should exit.

_InitializeParams.clientInfo : lsp.ClientInfo | nil
_InitializeParams.locale : nil | string
_InitializeParams.rootPath : string | lsp.null | nil
Deprecated
in favour of rootUri.
_InitializeParams.rootUri : lsp.DocumentUri | lsp.null
Deprecated
in favour of workspaceFolders.
_InitializeParams.capabilities : lsp.ClientCapabilities

The capabilities provided by the client (editor or tool)

_InitializeParams.initializationOptions : lsp.LSPAny | nil

User provided initialization options.

_InitializeParams.trace : lsp.TraceValue | nil

The initial trace setting. If omitted trace is disabled ('off').