sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
This module provides a rudimentary and incomplete implementation of the LSP protocol.
Note: many features are missing and it does not handle positionEncoding
.
module Code : Diagnostic.Code
val start :
source:string option ->
init:(root:string option -> unit) ->
load_file:(display:(Code.t Diagnostic.t -> unit) -> string -> unit) ->
unit
run ~init ~load_file
starts the LSP server with the two callbacks init
and load_file
.