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✝ }
- off: Lean.Lsp.Trace
- messages: Lean.Lsp.Trace
- verbose: Lean.Lsp.Trace
A TraceValue represents the level of verbosity with which the server systematically reports its execution trace using $/logTrace
notifications.
reference
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.
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.
Lean-specific initialization options.
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
- Lean.Lsp.InitializeParams.editDelay params = Option.getD (Option.bind params.initializationOptions? fun x => x.editDelay?) 200
Instances For
Equations
- One or more equations did not get rendered due to their size.
Equations
- Lean.Lsp.instFromJsonInitializedParams = { fromJson? := fun x => pure Lean.Lsp.InitializedParams.mk }
Equations
- Lean.Lsp.instToJsonInitializedParams = { toJson := fun x => 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✝ }