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✝ }
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
Equations
- clientInfo? : Option ClientInfo
- initializationOptions? : Option InitializationOptions
- capabilities : ClientCapabilities
- trace : Trace
If omitted, we default to off.
- workspaceFolders? : Option (Array 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 : ServerCapabilities
- serverInfo? : Option ServerInfo
Instances For
Equations
Equations
- Lean.Lsp.instFromJsonInitializeResult = { fromJson? := Lean.Lsp.fromJsonInitializeResult✝ }