Asai_lsp.Make
This module provides a rudimentary and incomplete implementation of the LSP protocol.
Note: many features are missing and it does not handle positionEncoding
.
module Message : Asai.MinimumSigs.Message
val start :
source:string option ->
init:(root:string option -> unit) ->
load_file:(display:(Message.t Asai.Diagnostic.t -> unit) -> string -> unit) ->
unit
run ~init ~load_file
starts the LSP server with the two callbacks init
and load_file
.