sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Server.MakeSourcemodule IO : sig ... endThe server baseclass
class notify_back : notify_back:(Lsp.Server_notification.t ->
unit IO.t) -> ?version:int option -> ?uri:Lsp.Types.DocumentUri.t option ->
unit -> object ... endA wrapper to more easily reply to notifications
type nonrec doc_state = doc_state = {uri : Lsp.Types.DocumentUri.t;languageId : string;version : int;content : string;}Current state of a document.
An easily overloadable class. Pick the methods you want to support. The user must provide at least the callbacks for document lifecycle: open, close, update. The most basic LSP server should check documents when they're updated and report diagnostics back to the editor.