Functionality to do with initializing and shutting down the server ("General Messages" section of LSP spec).
Equations
- Lean.Lsp.instToJsonClientInfo = { toJson := Lean.Lsp.toJsonClientInfo✝ }
Equations
- Lean.Lsp.instFromJsonClientInfo = { fromJson? := Lean.Lsp.fromJsonClientInfo✝ }
A TraceValue represents the level of verbosity with which the server systematically reports its execution trace using $/logTrace
notifications.
reference
- off : Lean.Lsp.Trace
- messages : Lean.Lsp.Trace
- verbose : Lean.Lsp.Trace
Instances For
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Lean-specific initialization options.
Time (in milliseconds) which must pass since latest edit until elaboration begins. Lower values may make editors feel faster at the cost of higher CPU usage. Defaults to 200ms.
Whether the client supports interactive widgets. When true, in order to improve performance the server may cease including information which can be retrieved interactively in some standard LSP messages. Defaults to false.
Instances For
- clientInfo? : Option Lean.Lsp.ClientInfo
- initializationOptions? : Option Lean.Lsp.InitializationOptions
- capabilities : Lean.Lsp.ClientCapabilities
- trace : Lean.Lsp.Trace
If omitted, we default to off.
- workspaceFolders? : Option (Array Lean.Lsp.WorkspaceFolder)
Instances For
Equations
Equations
- params.editDelay = (params.initializationOptions?.bind fun (x : Lean.Lsp.InitializationOptions) => x.editDelay?).getD 200
Instances For
Equations
- One or more equations did not get rendered due to their size.
Equations
- Lean.Lsp.instFromJsonInitializedParams = { fromJson? := fun (x : Lean.Json) => pure Lean.Lsp.InitializedParams.mk }
Equations
- Lean.Lsp.instToJsonInitializedParams = { toJson := fun (x : Lean.Lsp.InitializedParams) => Lean.Json.null }
Equations
- Lean.Lsp.instToJsonServerInfo = { toJson := Lean.Lsp.toJsonServerInfo✝ }
Equations
- Lean.Lsp.instFromJsonServerInfo = { fromJson? := Lean.Lsp.fromJsonServerInfo✝ }
- capabilities : Lean.Lsp.ServerCapabilities
- serverInfo? : Option Lean.Lsp.ServerInfo
Instances For
Equations
Equations
- Lean.Lsp.instFromJsonInitializeResult = { fromJson? := Lean.Lsp.fromJsonInitializeResult✝ }